summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplDoublyLinkedList_current.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplDoublyLinkedList_current.phpt')
-rw-r--r--ext/spl/tests/SplDoublyLinkedList_current.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/spl/tests/SplDoublyLinkedList_current.phpt b/ext/spl/tests/SplDoublyLinkedList_current.phpt
new file mode 100644
index 0000000..3e13a6b
--- /dev/null
+++ b/ext/spl/tests/SplDoublyLinkedList_current.phpt
@@ -0,0 +1,11 @@
+--TEST--
+SplDoublyLinkedList getIteratorMode
+--CREDITS--
+PHPNW Testfest 2009 - Lorna Mitchell
+--FILE--
+<?php
+$list = new SplDoublyLinkedList();
+var_dump($list->current());
+?>
+--EXPECT--
+NULL