Hi!

A good point.  Fortunately, most streams do store the filename in the
stream struct, so this would still probably be possible in the majority
of cases.  If not available, the original requested filename is used
(the one from the fopen call), so opcode caches probably could just use
that.

The problem is, by then the stream will already be opened, i.e. extra filesystem call is done.
--
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