diff options
Diffstat (limited to 'ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt')
| -rw-r--r-- | ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt b/ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt new file mode 100644 index 0000000..d1bfb46 --- /dev/null +++ b/ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt @@ -0,0 +1,12 @@ +--TEST-- +SplDoublyLinkedList getIteratorMode +--CREDITS-- +PHPNW Testfest 2009 - Lorna Mitchell +--FILE-- +<?php +$list = new SplDoublyLinkedList(); +$list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_KEEP); +echo $list->getIteratorMode(); +?> +--EXPECT-- +0 |
