php-src/ext/standard/tests/file/bug24313.phpt
Antony Dovgal 20b0975a43 fix test
I really hope there are no systems where /dev is a symlink
2006-07-28 13:47:41 +00:00

11 lines
227 B
PHP

--TEST--
Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled)
--INI--
open_basedir=/dev
--FILE--
<?php
var_dump(file_exists("/dev/bogus_file_no_such_thing"));
?>
--EXPECT--
bool(false)