Test: /tests/security/open_basedir_dir.phpt - Version 7.0.0RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: require_once(): open_basedir restriction in effect. File(/Users/5up3rc/desktop/php-7.0.0RC1/tests/security/open_basedir.inc) is not within the allowed path(s): (.) in %s/open_basedir_dir.php on line 2
002+
003+ Warning: require_once(/Users/5up3rc/desktop/php-7.0.0RC1/tests/security/open_basedir.inc): failed to open stream: Operation not permitted in %s/open_basedir_dir.php on line 2
001- *** Testing open_basedir configuration [dir] ***
002- bool(true)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
005+ Fatal error: require_once(): Failed opening required 'open_basedir.inc' (include_path='.:') in %s/open_basedir_dir.php on line 2
008- Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
009-
010- Warning: dir(../bad): failed to open dir: %s in %s on line %d
011- bool(false)
012-
013- Warning: dir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
014-
015- Warning: dir(../bad/bad.txt): failed to open dir: %s in %s on line %d
016- bool(false)
017-
018- Warning: dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
019-
020- Warning: dir(..): failed to open dir: %s in %s on line %d
021- bool(false)
022-
023- Warning: dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
024-
025- Warning: dir(../): failed to open dir: %s in %s on line %d
026- bool(false)
027-
028- Warning: dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
029-
030- Warning: dir(/): failed to open dir: %s in %s on line %d
031- bool(false)
032-
033- Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
034-
035- Warning: dir(../bad/.): failed to open dir: %s in %s on line %d
036- bool(false)
037-
038- Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
039-
040- Warning: dir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
041- bool(false)
042-
043- Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
044-
045- Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
046- bool(false)
047- object(Directory)#%d (2) {
048- ["path"]=>
049- string(%d) "%s/test/ok/"
050- ["handle"]=>
051- resource(%d) of type (stream)
052- }
053- object(Directory)#%d (2) {
054- ["path"]=>
055- string(%d) "%s/test/ok"
056- ["handle"]=>
057- resource(%d) of type (stream)
058- }
059- object(Directory)#%d (2) {
060- ["path"]=>
061- string(%d) "%s/test/ok/../ok"
062- ["handle"]=>
063- resource(%d) of type (stream)
064- }
065- *** Finished testing open_basedir configuration [dir] ***