Test: /tests/security/open_basedir_lstat.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)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
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- Warning: lstat(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
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- Warning: lstat(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
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
014- Warning: lstat(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
015- bool(false)
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
017- Warning: lstat(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
020- Warning: lstat(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
023- Warning: lstat(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: lstat(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 78
026- Warning: lstat(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
027+ Warning: lstat(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 79
029- Warning: lstat(): 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+ Warning: lstat(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 80
033+ Warning: lstat(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 81
034- bool(true)
035- bool(true)
036- bool(true)
037- bool(true)
038- bool(true)
036+ Warning: lstat(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 82
037+ bool(false)
038+
039+ Warning: lstat(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 83
040+ bool(false)
041+
042+ Warning: lstat(): 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 85
043+ bool(false)
044+
045+ Warning: lstat(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 86
046+ bool(false)
047+
050+
051+ Warning: lstat(): open_basedir restriction in effect. File(../ok) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 115
052+ bool(false)
053+
054+ Warning: lstat(): Lstat failed for ok.txt in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 116
055+ bool(false)
056+
057+ Warning: lstat(): open_basedir restriction in effect. File(../ok/ok.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 117
058+ bool(false)
059+
060+ Warning: lstat(): 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 119
061+ bool(false)
062+
063+ Warning: lstat(): open_basedir restriction in effect. File(/root/egor/php-5.3.21/test/ok/../ok/ok.txt) is not within the allowed path(s): (.) in /root/egor/php-5.3.21/tests/security/open_basedir.inc on line 120
064+ bool(false)