vrana           Wed Oct 12 09:04:10 2005 EDT

  Modified files:              
    /phpdoc/en/language control-structures.xml 
  Log:
  include ./ searches only in cwd too
  
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.127&r2=1.128&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.127 
phpdoc/en/language/control-structures.xml:1.128
--- phpdoc/en/language/control-structures.xml:1.127     Wed Sep 21 17:20:27 2005
+++ phpdoc/en/language/control-structures.xml   Wed Oct 12 09:04:10 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.127 $ -->
+<!-- $Revision: 1.128 $ -->
  <chapter id="language.control-structures">
   <title>Control Structures</title>
 
@@ -1308,8 +1308,8 @@
     you included <filename>include/a.php</filename> and there is 
<literal>include "b.php"</literal>
     in that file, <filename>b.php</filename> is first looked in <filename 
class="directory">/www/</filename>
     and then in <filename class="directory">/www/include/</filename>.
-    If filename begins with <literal>../</literal>, it is looked only in
-    include_path relative to the current working directory.
+    If filename begins with <literal>./</literal> or <literal>../</literal>, it
+    is looked only in include_path relative to the current working directory.
    </simpara>
    <simpara>
      When a file is included, the code it contains inherits the

Reply via email to