mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
728a06d7a7
commit
d19ed8933f
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue