php-src/ext/spl/tests/SplDoublyLinkedList_getIteratorMode.phpt
2009-05-23 15:38:18 +00:00

13 lines
286 B
PHP

--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