On my machine i get these results:
Win32 (PHP 5.2.1 CLI)

Windows has very slow filesystem layer (compared to Linux), unfortunately. Which means things that do more filesystem (like require_once that should resolve file pathes) are slower. Realpath cache should make it better to a measure. Anyway, the code you have sent is incorrect since it does not resolve and does not canonicalize pathnames. For example, on Windows it would consider names written in different case different file names (of course, this is only one problem of many).
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/

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

Reply via email to