Hi!

could anybody tell me why also for every single php file engine must lstat
all path?
Why php engine don't simply try to open directly the file?

There are some places where PHP engine has to know "true" name of the file - i.e. filename that would be the same for each file regardless of how it is accessed - through relative path, symlinks, etc. Example can be {include|require}_once. For that, it needs to figure out the whole path. It is done only once per file, then cached. If you seeing it on repeated runs in the same process, increase your realpath cache size (yes, the default is way too small for any big app).
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to