001- *** Testing open_basedir configuration [file] ***
002- bool(true)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
001+ Usage: php
002+       php -[b|c|n|h|i|q|s|v|?] [<file>] [args...]
003+   Run in LSAPI mode, only '-b', '-s' and '-c' are effective
004+   Run in Command Line Interpreter mode when parameters are specified
     
008- Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
006+   -b <address:port>|<port> Bind Path for external LSAPI Server mode
007+   -c <path>|<file> Look for php.ini file in this directory
008+   -n    No php.ini file will be used
009+   -h    This help
010+   -i    PHP information
011+   -l    Syntax check
012+   -q    Quiet-mode.  Suppress HTTP Header output.
013+   -s    Display colour syntax highlighted source.
014+   -v    Version number
015+   -?    This help
     
010- Warning: file(../bad): Failed to open stream: %s in %s on line %d
011- bool(false)
012- 
013- Warning: file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
014- 
015- Warning: file(../bad/bad.txt): Failed to open stream: %s in %s on line %d
016- bool(false)
017- 
018- Warning: file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
019- 
020- Warning: file(..): Failed to open stream: %s in %s on line %d
021- bool(false)
022- 
023- Warning: file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
024- 
025- Warning: file(../): Failed to open stream: %s in %s on line %d
026- bool(false)
027- 
028- Warning: file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
029- 
030- Warning: file(/): Failed to open stream: %s in %s on line %d
031- bool(false)
032- 
033- Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
034- 
035- Warning: file(../bad/.): Failed to open stream: %s in %s on line %d
036- bool(false)
037- 
038- Warning: file(): 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: file(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
041- bool(false)
042- 
043- Warning: file(): 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: file(%s/test/bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
046- bool(false)
047- array(1) {
048-   [0]=>
049-   string(12) "Hello World!"
050- }
051- array(1) {
052-   [0]=>
053-   string(12) "Hello World!"
054- }
055- array(1) {
056-   [0]=>
057-   string(12) "Hello World!"
058- }
059- array(1) {
060-   [0]=>
061-   string(12) "Hello World!"
062- }
063- *** Finished testing open_basedir configuration [file] ***
017+   args...    Arguments passed to script.
