Hi!

> An APC-level fix might be to fix the include_once/require_once override
> implementation to go to the cache first to see if the inode is there and
> pull out the cached realpath and use that to check against the
> included_files list. The downside is that we will likely end up with 2
> cache lookups on every include_once.

Comparing inodes sounds like a good idea for APC. Or, rather, comparing
device,inode tuples. However, it should be able to fall back to
comparing paths for files that have no inode.

However, this may lead to BC break in (admittedly very unlikely)
scenario of file hardlinked under two different names.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to