We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22eb8d9 commit b0bb882Copy full SHA for b0bb882
ext/standard/tests/file/bug24313.phpt
@@ -0,0 +1,10 @@
1
+--TEST--
2
+Bug #24313: file_exists() warning on non-existant files when is open_basedir enabled
3
+--INI--
4
+open_basedir=/tmp
5
+--FILE--
6
+<?php
7
+ var_dump(file_exists("./foobar"));
8
+?>
9
+--EXPECT--
10
+bool(false)
0 commit comments