include_once returns TRUE when including the same file repeatedly (fixes #70031)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337130 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2015-07-09 13:36:03 +00:00
parent b0dc55fed2
commit 3efd70fb90

View file

@ -9,8 +9,8 @@
the specified file during the execution of the script.
This is a behavior similar to the <function>include</function> statement,
with the only difference being that if the code from a file has already
been included, it will not be included again. As the name suggests,
it will be included just once.
been included, it will not be included again, and include_once returns &true;. As the name suggests,
the file will be included just once.
</para>
<para>
<literal>include_once</literal> may be used in cases where