mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0f3c725d98
commit
cf4a06bf38
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue