cvs: phpdoc /en/language control-structures.xml
| From: | Jakub Vrana | Date: | Fri, 07 Nov 2008 11:26:57 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2433@lists.php.net to get a copy of this message | ||
vrana Fri Nov 7 11:26:57 2008 UTC
Modified files:
/phpdoc/en/language control-structures.xml
Log:
declare doesn't affect parent (bug #44345)
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.169&r2=1.170&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.169
phpdoc/en/language/control-structures.xml:1.170
--- phpdoc/en/language/control-structures.xml:1.169 Fri Nov 7 11:23:36 2008
+++ phpdoc/en/language/control-structures.xml Fri Nov 7 11:26:57 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.169 $ -->
+<!-- $Revision: 1.170 $ -->
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Control Structures</title>
@@ -1186,7 +1186,9 @@
</para>
<para>
The <literal>declare</literal> construct can also be used in the global
- scope, affecting all code following it.
+ scope, affecting all code following it (however if the file with
+ <literal>declare</literal> was included then it does not affect the parent
+ file).
<informalexample>
<programlisting role="php">
<![CDATA[