Annotation of embedaddon/php/ext/spl/tests/bug47534.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SPL: RecursiveDirectoryIterator bug 47534
! 3: --FILE--
! 4: <?php
! 5: $it1 = new RecursiveDirectoryIterator(dirname(__FILE__), FileSystemIterator::CURRENT_AS_PATHNAME);
! 6: $it1->rewind();
! 7: echo gettype($it1->current())."\n";
! 8:
! 9: $it2 = new RecursiveDirectoryIterator(dirname(__FILE__));
! 10: $it2->rewind();
! 11: echo gettype($it2->current())."\n";
! 12: --EXPECT--
! 13: string
! 14: object
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>