Test: /tests/security/open_basedir_is_executable.phpt - Version 5.3.10    

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

Count Diff
336 (99%)
031+ bool(true)
032+ bool(true)
033+ bool(true)
034+ bool(true)
031- bool(false)
032- bool(false)
033- bool(false)
034- bool(false)
1 (0%)
003+
004+ Warning: mkdir(): File exists in /home/forppl/pkg/php-5.3.10/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(/home/forppl/pkg/php-5.3.10/test/ok) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 65
008- Warning: is_executable(): 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(/home/forppl/pkg/php-5.3.10/test/bad) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 66
011- Warning: is_executable(): 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(/home/forppl/pkg/php-5.3.10/test/ok/ok.txt) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/home/forppl/pkg/php-5.3.10/test/ok/ok.txt): failed to open stream: Operation not permitted in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 67
014- Warning: is_executable(): 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(/home/forppl/pkg/php-5.3.10/test/bad/bad.txt) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/home/forppl/pkg/php-5.3.10/test/bad/bad.txt): failed to open stream: Operation not permitted in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 68
020+
021+ Warning: chdir(): open_basedir restriction in effect. File(/home/forppl/pkg/php-5.3.10/test/ok) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 99
017- Warning: is_executable(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
020- Warning: is_executable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
023- Warning: is_executable(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: is_executable(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 78
026- Warning: is_executable(): 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: is_executable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 79
029- Warning: is_executable(): 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: is_executable(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 80
033+ Warning: is_executable(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 81
035+
036+ Warning: is_executable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 82
038+
039+ Warning: is_executable(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 83
041+
042+ Warning: is_executable(): open_basedir restriction in effect. File(/home/forppl/pkg/php-5.3.10/test/bad/bad.txt) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 85
044+
045+ Warning: is_executable(): open_basedir restriction in effect. File(/home/forppl/pkg/php-5.3.10/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in /home/forppl/pkg/php-5.3.10/tests/security/open_basedir.inc on line 86
047+ bool(false)
048+
049+ Warning: is_executable(): open_basedir restriction in effect. File(../ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 8
050+ bool(false)
051+
052+ Warning: is_executable(): open_basedir restriction in effect. File(/home/forppl/pkg/php-5.3.10/test/ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 9
053+ bool(false)
054+
055+ Warning: is_executable(): open_basedir restriction in effect. File(/home/forppl/pkg/php-5.3.10/test/ok/../ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 10
056+ bool(false)
1 (0%)
003+
004+ Warning: mkdir(): File exists in /usr/local/src/php-5.3.10/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(/usr/local/src/php-5.3.10/test/ok) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 65
008- Warning: is_executable(): 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(/usr/local/src/php-5.3.10/test/bad) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 66
011- Warning: is_executable(): 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(/usr/local/src/php-5.3.10/test/ok/ok.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/usr/local/src/php-5.3.10/test/ok/ok.txt): failed to open stream: Operation not permitted in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 67
014- Warning: is_executable(): 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(/usr/local/src/php-5.3.10/test/bad/bad.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/usr/local/src/php-5.3.10/test/bad/bad.txt): failed to open stream: Operation not permitted in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 68
020+
021+ Warning: chdir(): open_basedir restriction in effect. File(/usr/local/src/php-5.3.10/test/ok) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 99
017- Warning: is_executable(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
020- Warning: is_executable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
023- Warning: is_executable(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: is_executable(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 78
026- Warning: is_executable(): 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: is_executable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 79
029- Warning: is_executable(): 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: is_executable(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 80
033+ Warning: is_executable(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 81
035+
036+ Warning: is_executable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 82
038+
039+ Warning: is_executable(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 83
041+
042+ Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/src/php-5.3.10/test/bad/bad.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 85
044+
045+ Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/src/php-5.3.10/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.3.10/tests/security/open_basedir.inc on line 86
047+ bool(false)
048+
049+ Warning: is_executable(): open_basedir restriction in effect. File(../ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 8
050+ bool(false)
051+
052+ Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/src/php-5.3.10/test/ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 9
053+ bool(false)
054+
055+ Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/src/php-5.3.10/test/ok/../ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_is_executable.php on line 10
056+ bool(false)