mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Files can be included even if they don't 'exist' (bug #32286)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184814 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
adf67bb563
commit
dd233c07d3
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.file-exists">
|
||||
<refnamediv>
|
||||
|
@ -43,6 +43,16 @@ if (file_exists($filename)) {
|
|||
¬e.clearstatcache;
|
||||
|
||||
&tip.fopen-wrapper.stat;
|
||||
|
||||
<warning>
|
||||
<para>
|
||||
This function returns &false; for files inaccessible due to <link
|
||||
linkend="features.safe-mode">safe mode</link> retrictions. However these
|
||||
files still can be <link linkend="function.include">included</link> if
|
||||
they are located in <link
|
||||
linkend="ini.safe-mode-include-dir">safe_mode_include_dir</link>.
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
<para>
|
||||
See also <function>is_readable</function>, <function>is_writable</function>,
|
||||
|
|
Loading…
Reference in a new issue