cvs: phpdoc /en/language control-structures.xml

From: Date: Tue, 17 Feb 2004 21:01:16 +0000
Subject: cvs: phpdoc /en/language control-structures.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359006@lists.php.net to get a copy of this message
irchtml Tue Feb 17 16:01:16 2004 EDT Modified files: /phpdoc/en/language control-structures.xml Log: bug #14165 added note about including remote files http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.87&r2=1.88&ty=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.87 phpdoc/en/language/control-structures.xml:1.88 --- phpdoc/en/language/control-structures.xml:1.87 Mon Feb 9 07:33:20 2004 +++ phpdoc/en/language/control-structures.xml Tue Feb 17 16:01:16 2004 @@ -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 @@ </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>

« previous php.doc (#969359006) next »