Warning: dir(): open_basedir restriction in effect. File(.) is not within the allowed path(s): (/tmp:/in:/etc) in /in/2XCUd on line 2
Warning: dir(.): Failed to open directory: Operation not permitted in /in/2XCUd on line 2
bool(false)
object(Directory)#1 (2) {
["path"]=>
string(1) "."
["handle"]=>
resource(5) of type (stream)
}
Output for 7.4.26 - 7.4.32
Warning: dir(): open_basedir restriction in effect. File(.) is not within the allowed path(s): (/tmp:/in:/etc) in /in/2XCUd on line 2
Warning: dir(.): failed to open dir: Operation not permitted in /in/2XCUd on line 2
bool(false)
Output for 5.2.3 - 5.2.17
object(Directory)#1 (2) {
["path"]=>
string(1) "."
["handle"]=>
resource(4) of type (stream)
}
<br />
<b>Warning</b>: dir(.) [<a href='function.dir'>function.dir</a>]: failed to open dir: Permission denied in <b>/in/2XCUd</b> on line <b>2</b><br />
bool(false)
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.2
<br />
<b>Warning</b>: dir(.): failed to open dir: Permission denied in <b>/in/2XCUd</b> on line <b>2</b><br />
bool(false)
Output for 4.3.0 - 4.3.1
<br />
<b>Warning</b>: dir(.) [<a href='http://www.php.net/function.dir'>function.dir</a>]: failed to open dir: Permission denied in <b>/in/2XCUd</b> on line <b>2</b><br />
bool(false)