Test: /tests/security/open_basedir_dir.phpt - Version 5.3.21    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
003+
004+ Warning: mkdir(): File exists in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 64
005+ bool(false)
006+
007+ Warning: mkdir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 65
008+ bool(false)
009+
010+ Warning: mkdir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/bad) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 66
011+ bool(false)
012+
013+ Warning: file_put_contents(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok/ok.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/root/egor/php-5.3.21/test/ok/ok.txt): failed to open stream: Operation not permitted in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 67
016+
017+ Warning: file_put_contents(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/bad/bad.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/root/egor/php-5.3.21/test/bad/bad.txt): failed to open stream: Operation not permitted in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 68
020+
021+ Warning: chdir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 99
022+ bool(false)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
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- }
063+
064+ Warning: dir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok/) is not within the allowed path(s): (.) in %s/open_basedir_dir.php on line 8
065+
066+ Warning: dir(/root/egor/php-5.3.21/test/ok/): failed to open dir: Operation not permitted in %s/open_basedir_dir.php on line 8
067+ bool(false)
068+
069+ Warning: dir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok) is not within the allowed path(s): (.) in %s/open_basedir_dir.php on line 9
070+
071+ Warning: dir(/root/egor/php-5.3.21/test/ok): failed to open dir: Operation not permitted in %s/open_basedir_dir.php on line 9
072+ bool(false)
073+
074+ Warning: dir(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok/../ok) is not within the allowed path(s): (.) in %s/open_basedir_dir.php on line 10
075+
076+ Warning: dir(/root/egor/php-5.3.21/test/ok/../ok): failed to open dir: Operation not permitted in %s/open_basedir_dir.php on line 10
077+ bool(false)