Test: /tests/security/open_basedir_file_exists.phpt - Version 5.7.0-dev    

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

Count Diff
5 (83%)
003+
004+ Warning: readdir(): supplied resource is not a valid Directory resource in /experiment/source/tests/security/open_basedir.inc on line 39
005+
006+ Warning: closedir(): supplied resource is not a valid Directory resource in /experiment/source/tests/security/open_basedir.inc on line 53
006- bool(true)
010+ Segmentation fault (core dumped)
007-
008- Warning: file_exists(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
009- bool(false)
010-
011- Warning: file_exists(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
012- bool(false)
013-
014- Warning: file_exists(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
015- bool(false)
016-
017- Warning: file_exists(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
018- bool(false)
019-
020- Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
021- bool(false)
022-
023- Warning: file_exists(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024- bool(false)
025-
026- Warning: file_exists(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
027- bool(false)
028-
029- Warning: file_exists(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
030- bool(false)
031-
032- Warning: file_exists(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
033- bool(false)
034- bool(true)
035- bool(true)
036- bool(true)
037- bool(true)
038- bool(true)
039- *** Finished testing open_basedir configuration [file_exists] ***
1 (17%)
003+
004+ Warning: unlink(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/ok/ok.txt): Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 47
005+
006+ Warning: rmdir(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/ok): Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 55
007+
008+ Warning: unlink(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/bad/bad.txt): Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 47
009+
010+ Warning: rmdir(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/bad): Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 55
011+
012+ Warning: rmdir(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test): Directory not empty in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 55
013+
014+ Warning: mkdir(): File exists in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 64
015+ bool(false)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
008- Warning: file_exists(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
011- Warning: file_exists(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
017+ Warning: mkdir(): File exists in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 65
020+ Warning: mkdir(): File exists in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 66
023+ Warning: file_put_contents(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/ok/ok.txt): failed to open stream: Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 67
024+
025+ Warning: file_put_contents(/media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/test/bad/bad.txt): failed to open stream: Permission denied in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 68
026+ bool(true)
027+
028+ Warning: file_exists(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 78
029+ bool(false)
030+
031+ Warning: file_exists(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /media/jjbielas/jjb-hdd-88g/PHP/phpng-baseline/tests/security/open_basedir.inc on line 79
032+ bool(false)
033+