Annotation of embedaddon/php/ext/spl/tests/dllist_012.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SPL: DoublyLinkedList: recursive var_dump
! 3: --FILE--
! 4: <?php
! 5: $a = new SplDoublyLinkedList;
! 6: $a[] = $a;
! 7:
! 8: var_dump($a);
! 9: ?>
! 10: ===DONE===
! 11: --EXPECTF--
! 12: object(SplDoublyLinkedList)#%d (2) {
! 13: ["flags":"SplDoublyLinkedList":private]=>
! 14: int(0)
! 15: ["dllist":"SplDoublyLinkedList":private]=>
! 16: array(1) {
! 17: [0]=>
! 18: *RECURSION*
! 19: }
! 20: }
! 21: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>