vrana           Fri Aug 17 08:10:04 2007 UTC

  Modified files:              
    /phpdoc/en/language control-structures.xml 
  Log:
  Magic constants in included file from a function (bug #41487)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.144&r2=1.145&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.144 
phpdoc/en/language/control-structures.xml:1.145
--- phpdoc/en/language/control-structures.xml:1.144     Thu Aug  9 09:34:18 2007
+++ phpdoc/en/language/control-structures.xml   Fri Aug 17 08:10:04 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.144 $ -->
+<!-- $Revision: 1.145 $ -->
  <chapter xml:id="language.control-structures" 
xmlns="http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
   <title>Control Structures</title>
 
@@ -1350,6 +1350,9 @@
      then all of the code contained in the called file will behave as
      though it had been defined inside that function.  So, it will follow
      the variable scope of that function.
+     An exception to this rule are <link
+     linkend="language.constants.predefined">magic constants</link> which are
+     evaluated by the parser before the include occurs.
    </simpara>
    <para>
      <example>

Reply via email to