Tinkering include docs a bit more.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327096 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Karoly Negyesi 2012-08-13 07:26:30 +00:00
parent 0f3c725d98
commit cf4a06bf38

View file

@ -181,10 +181,10 @@ include 'file.php'; // Works.
information.
</para>
<simpara>
Handling Returns: <literal>include</literal> always returns
<literal>FALSE</literal> on failure. Unless overridden by the included file,
<literal>include</literal> returns <literal>1</literal> if the include was
successful. It is possible to execute a <function>return</function>
Handling Returns: <literal>include</literal> returns
<literal>FALSE</literal> on failure and raises a warning. Successful
includes, unless overridden by the included file, return
<literal>1</literal>. It is possible to execute a <function>return</function>
statement inside an included file in order to terminate processing in
that file and return to the script which called it. Also, it's possible
to return values from included files. You can take the value of the