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

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

Count Diff
3 (75%)
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/scandir_variation4.php on line 14
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/scandir_variation4.php on line 14
006+
007+ Fatal error: Call to undefined function create_files() in %s/scandir_variation4.php on line 23
003- -- $path = './level_one': --
004- bool(true)
005- array(5) {
006- [0]=>
007- string(1) "."
008- [1]=>
009- string(2) ".."
010- [2]=>
011- string(14) "level_one1.tmp"
012- [3]=>
013- string(14) "level_one2.tmp"
014- [4]=>
015- string(9) "level_two"
016- }
017-
018- -- $path = 'level_one/level_two': --
019- bool(true)
020- array(4) {
021- [0]=>
022- string(1) "."
023- [1]=>
024- string(2) ".."
025- [2]=>
026- string(14) "level_two1.tmp"
027- [3]=>
028- string(14) "level_two2.tmp"
029- }
030-
031- -- $path = '..': --
032- bool(true)
033- array(5) {
034- [0]=>
035- string(1) "."
036- [1]=>
037- string(2) ".."
038- [2]=>
039- string(14) "level_one1.tmp"
040- [3]=>
041- string(14) "level_one2.tmp"
042- [4]=>
043- string(9) "level_two"
044- }
045-
046- -- $path = 'level_two', '.': --
047- bool(true)
048- array(4) {
049- [0]=>
050- string(1) "."
051- [1]=>
052- string(2) ".."
053- [2]=>
054- string(14) "level_two1.tmp"
055- [3]=>
056- string(14) "level_two2.tmp"
057- }
058-
059- -- $path = '../': --
060- bool(true)
061- array(5) {
062- [0]=>
063- string(1) "."
064- [1]=>
065- string(2) ".."
066- [2]=>
067- string(14) "level_one1.tmp"
068- [3]=>
069- string(14) "level_one2.tmp"
070- [4]=>
071- string(9) "level_two"
072- }
073-
074- -- $path = './': --
075- bool(true)
076- array(4) {
077- [0]=>
078- string(1) "."
079- [1]=>
080- string(2) ".."
081- [2]=>
082- string(14) "level_two1.tmp"
083- [3]=>
084- string(14) "level_two2.tmp"
085- }
086-
087- -- $path = '../../'level_one': --
088- bool(true)
089- array(5) {
090- [0]=>
091- string(1) "."
092- [1]=>
093- string(2) ".."
094- [2]=>
095- string(14) "level_one1.tmp"
096- [3]=>
097- string(14) "level_one2.tmp"
098- [4]=>
099- string(9) "level_two"
100- }
101- ===DONE===
1 (25%)
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/scandir_variation4.php on line 14
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/scandir_variation4.php on line 14
006+
007+ Fatal error: Call to undefined function create_files() in %s/scandir_variation4.php on line 23
003- -- $path = './level_one': --
004- bool(true)
005- array(5) {
006- [0]=>
007- string(1) "."
008- [1]=>
009- string(2) ".."
010- [2]=>
011- string(14) "level_one1.tmp"
012- [3]=>
013- string(14) "level_one2.tmp"
014- [4]=>
015- string(9) "level_two"
016- }
017-
018- -- $path = 'level_one/level_two': --
019- bool(true)
020- array(4) {
021- [0]=>
022- string(1) "."
023- [1]=>
024- string(2) ".."
025- [2]=>
026- string(14) "level_two1.tmp"
027- [3]=>
028- string(14) "level_two2.tmp"
029- }
030-
031- -- $path = '..': --
032- bool(true)
033- array(5) {
034- [0]=>
035- string(1) "."
036- [1]=>
037- string(2) ".."
038- [2]=>
039- string(14) "level_one1.tmp"
040- [3]=>
041- string(14) "level_one2.tmp"
042- [4]=>
043- string(9) "level_two"
044- }
045-
046- -- $path = 'level_two', '.': --
047- bool(true)
048- array(4) {
049- [0]=>
050- string(1) "."
051- [1]=>
052- string(2) ".."
053- [2]=>
054- string(14) "level_two1.tmp"
055- [3]=>
056- string(14) "level_two2.tmp"
057- }
058-
059- -- $path = '../': --
060- bool(true)
061- array(5) {
062- [0]=>
063- string(1) "."
064- [1]=>
065- string(2) ".."
066- [2]=>
067- string(14) "level_one1.tmp"
068- [3]=>
069- string(14) "level_one2.tmp"
070- [4]=>
071- string(9) "level_two"
072- }
073-
074- -- $path = './': --
075- bool(true)
076- array(4) {
077- [0]=>
078- string(1) "."
079- [1]=>
080- string(2) ".."
081- [2]=>
082- string(14) "level_two1.tmp"
083- [3]=>
084- string(14) "level_two2.tmp"
085- }
086-
087- -- $path = '../../'level_one': --
088- bool(true)
089- array(5) {
090- [0]=>
091- string(1) "."
092- [1]=>
093- string(2) ".."
094- [2]=>
095- string(14) "level_one1.tmp"
096- [3]=>
097- string(14) "level_one2.tmp"
098- [4]=>
099- string(9) "level_two"
100- }
101- ===DONE===