./ && ../ doesn't use include_path at all

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240940 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2007-08-09 09:34:18 +00:00
parent 6148736c9d
commit a47be82529

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.143 $ -->
<!-- $Revision: 1.144 $ -->
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Control Structures</title>
@ -1307,7 +1307,7 @@ require ('somefile.txt');
in that file, <filename>b.php</filename> is first looked in <filename class="directory">/www/libraries/</filename>
and then in <filename class="directory">/www/include/</filename>.
If filename begins with <literal>./</literal> or <literal>../</literal>, it
is looked only in include_path relative to the current working directory.
is looked only in the current working directory.
</simpara>
<simpara>
When a file is included, the code it contains inherits the