Re: require_once

From: Date: Wed, 25 Apr 2007 07:33:22 +0000
Subject: Re: require_once
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-29011@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/

« previous php.internals (#29011) next »