Test: /ext/standard/tests/dir/dir_basic.phpt - Version 5.5.0    

There are 2 different diffs reported by users for this test.

Count Diff
3 (75%)
002+
003+ Warning: include(/root/php-5.5.0/ext/standard/tests/dir/../file/file.inc): failed to open stream: No such file or directory in %s/dir_basic.php on line 11
004+
005+ Warning: include(): Failed opening '/root/php-5.5.0/ext/standard/tests/dir/../file/file.inc' for inclusion (include_path='.:/usr/local/lib/php') in %s/dir_basic.php on line 11
002- Get Directory instance:
003- object(Directory)#%d (2) {
004- ["path"]=>
005- string(%d) "%s/dir_basic"
006- ["handle"]=>
007- resource(%d) of type (stream)
008- }
007+ Fatal error: Call to undefined function create_files() in %s/dir_basic.php on line 19
010- Read and rewind:
011- string(%d) "%s"
012- string(%d) "%s"
013- NULL
014-
015- Test using handle directly:
016- string(%d) "%s"
017- string(%d) "%s"
018-
019- Close directory:
020- NULL
021- object(Directory)#%d (2) {
022- ["path"]=>
023- string(%d) "%s/dir_basic"
024- ["handle"]=>
025- resource(%d) of type (Unknown)
026- }
027-
028- Test read after closing the dir:
029- Warning: Directory::read(): %d is not a valid Directory resource in %s on line %d
030- bool(false)
031- Done
1 (25%)
002+
003+ Warning: include(/root/Downloads/php-5.5.0/ext/standard/tests/dir/../file/file.inc): failed to open stream: No such file or directory in %s/dir_basic.php on line 11
004+
005+ Warning: include(): Failed opening '/root/Downloads/php-5.5.0/ext/standard/tests/dir/../file/file.inc' for inclusion (include_path='.:/usr/local/lib/php') in %s/dir_basic.php on line 11
002- Get Directory instance:
003- object(Directory)#%d (2) {
004- ["path"]=>
005- string(%d) "%s/dir_basic"
006- ["handle"]=>
007- resource(%d) of type (stream)
008- }
007+ Fatal error: Call to undefined function create_files() in %s/dir_basic.php on line 19
010- Read and rewind:
011- string(%d) "%s"
012- string(%d) "%s"
013- NULL
014-
015- Test using handle directly:
016- string(%d) "%s"
017- string(%d) "%s"
018-
019- Close directory:
020- NULL
021- object(Directory)#%d (2) {
022- ["path"]=>
023- string(%d) "%s/dir_basic"
024- ["handle"]=>
025- resource(%d) of type (Unknown)
026- }
027-
028- Test read after closing the dir:
029- Warning: Directory::read(): %d is not a valid Directory resource in %s on line %d
030- bool(false)
031- Done