mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
bug #14165
added note about including remote files git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151648 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2bf24522a3
commit
354ed06212
1 changed files with 11 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.87 $ -->
|
||||
<!-- $Revision: 1.88 $ -->
|
||||
<chapter id="control-structures">
|
||||
<title>Control Structures</title>
|
||||
|
||||
|
@ -1404,11 +1404,16 @@ if ($condition) {
|
|||
</example>
|
||||
</para>
|
||||
<simpara>
|
||||
Handling Returns: 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 include call as
|
||||
you would a normal function.
|
||||
Handling Returns: 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 include call as
|
||||
you would a normal function. This is not, however, possible when including
|
||||
remote files unless the output of the remote file has
|
||||
<link linkend="language.basic-syntax.phpmode">valid PHP start
|
||||
and end tags</link> (as with any local file). You can declare the needed
|
||||
variables within those tags and they will be introduced at whichever point
|
||||
the file was included.
|
||||
</simpara>
|
||||
<para>
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue