declare doesn't affect parent (bug #44345)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268487 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2008-11-07 11:26:57 +00:00
parent eabb567094
commit bbf97ee85f

View file

@ -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 @@ declare (directive)
</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[