Annotation of embedaddon/php/ext/spl/tests/SplDoublyLinkedList_offsetGet_param_string.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SplDoublyLinkedList::offsetGet() with 1st parameter passed as string.
3: --CREDITS--
4: PHPNW Test Fest 2009 - Jordan Hatch
5: --FILE--
6: <?php
7:
8: $array = new SplDoublyLinkedList( );
9:
10: $get = $array->offsetGet( 'fail' );
11:
12: ?>
13: --EXPECTF--
14: Fatal error: Uncaught exception 'OutOfRangeException' with message 'Offset invalid or out of range' in %s
15: Stack trace:
16: #0 %s
17: #1 {main}
18: thrown in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>