vrana Fri Aug 17 08:29:05 2007 UTC
Modified files: /phpdoc/en/language control-structures.xml Log: Grammar (bug #41460) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.145&r2=1.146&diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.145 phpdoc/en/language/control-structures.xml:1.146 --- phpdoc/en/language/control-structures.xml:1.145 Fri Aug 17 08:10:04 2007 +++ phpdoc/en/language/control-structures.xml Fri Aug 17 08:29:05 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.145 $ --> +<!-- $Revision: 1.146 $ --> <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Control Structures</title> @@ -1300,8 +1300,10 @@ in PHP versions prior to PHP 4.3.5. Since this version, it does. </simpara> <simpara> - Files for including are first looked in include_path relative to the current working directory - and then in the directory of the current script. E.g. if your include_path + Files for including are first looked for in each include_path entry + relative to the current working directory, and then in the directory of + current script. + E.g. if your include_path is <literal>libraries</literal>, current working directory is <filename class="directory">/www/</filename>, 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/libraries/</filename>