include_path performance note

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282445 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf 2009-06-19 15:52:53 +00:00
parent 728a06d7a7
commit d19ed8933f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.84 $ -->
<!-- $Revision: 1.85 $ -->
<appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>&php.ini; directives</title>
@ -4647,7 +4647,10 @@ include_path=".;c:\php\includes"
</para>
<para>
Using a <literal>.</literal> in the include path allows for
relative includes as it means the current directory.
relative includes as it means the current directory. However,
it is more efficient to explicitly use <literal>include
'./file'</literal> than having PHP always check the current
directory for every include.
</para>
</listitem>
</varlistentry>