From d19ed8933f2de8ef1844de564cfca141004efdbf Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Fri, 19 Jun 2009 15:52:53 +0000 Subject: [PATCH] include_path performance note git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282445 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/ini.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/appendices/ini.xml b/appendices/ini.xml index f58cc533c1..a6898586b6 100644 --- a/appendices/ini.xml +++ b/appendices/ini.xml @@ -1,5 +1,5 @@ - + &php.ini; directives @@ -4647,7 +4647,10 @@ include_path=".;c:\php\includes" Using a . 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 include + './file' than having PHP always check the current + directory for every include.