On 04/24/2007 01:07 PM, [EMAIL PROTECTED] wrote:
Hello everyone,
when testing speed of includes and requires i found that "require_once"
seems to be very slow in comparison to "require". Even worse
"require_once" seems to be slower than a php function "myrequire_once".
This is true not only for cli but also when using apc or eAccelerator.
Does anyone has an explanation for this?
require_once() - 0.1315 sec
myrequire_once() - 0.7054 sec
I.e. your function is ~5 times slower.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php