xref: /PHP-5.4/ext/spl/tests/bug47534.phpt (revision bc752085)
1--TEST--
2SPL: RecursiveDirectoryIterator bug 47534
3--FILE--
4<?php
5$it1 = new RecursiveDirectoryIterator(dirname(__FILE__), FileSystemIterator::CURRENT_AS_PATHNAME);
6$it1->rewind();
7echo gettype($it1->current())."\n";
8
9$it2 = new RecursiveDirectoryIterator(dirname(__FILE__));
10$it2->rewind();
11echo gettype($it2->current())."\n";
12--EXPECT--
13string
14object
15