Hi!

Yes, but let's not forget we're talking about making this:

While with proper caching, it can be 0 filesystem accesses.

if (can_include($file)) {
    include $file;
}

That's exactly what I was proposing - to have function to find file in include path and probably return the resulting filename (in case framework wants to keep it, or cache, or use it as a key or whatever).
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

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

Reply via email to