Fix #80021: include/require documentation does not mention warnings for missing files

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350405 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-08-28 08:22:46 +00:00
parent 51cb7c3022
commit 4d93300938

View file

@ -23,6 +23,12 @@
<function>require</function>, which will emit an
<constant>E_ERROR</constant>.
</simpara>
<simpara>
Note that both <literal>include</literal> and <literal>require</literal>
raise additional <constant>E_WARNING</constant>s, if the file cannot be
accessed, before raising the final <constant>E_WARNING</constant> or
<constant>E_ERROR</constant>, respectively.
</simpara>
<simpara>
If a path is defined — whether absolute (starting with a drive letter
or <literal>\</literal> on Windows, or <literal>/</literal> on Unix/Linux