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