diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-06-24 13:42:48 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-06-24 13:42:48 +0000 |
commit | b0bb882cd32198c9ba1777bbaec593fbd5a738e7 (patch) | |
tree | ea803dbb21b345c8409c31e2b2f3242b517c7e88 | |
parent | 22eb8d9421640245d50bcc4cf29139c4672b298e (diff) | |
download | php-git-b0bb882cd32198c9ba1777bbaec593fbd5a738e7.tar.gz |
Fixed bug #24313 (file_exist() warning on non-existent files when
open_basedir is used).
-rw-r--r-- | ext/standard/tests/file/bug24313.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug24313.phpt b/ext/standard/tests/file/bug24313.phpt new file mode 100644 index 0000000000..67b7cf8dd8 --- /dev/null +++ b/ext/standard/tests/file/bug24313.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #24313: file_exists() warning on non-existant files when is open_basedir enabled +--INI-- +open_basedir=/tmp +--FILE-- +<?php + var_dump(file_exists("./foobar")); +?> +--EXPECT-- +bool(false) |