On Thu, Nov 12, 2009 at 11:54:55AM -0800, Rasmus Lerdorf wrote:
> A couple of notes.
>
> You make it sound like this happens on all includes. It is only
> include_once/require_once that have this problem. Regular
> include/require do not.
Sorry for making it confusing. I meant only for include_o
A couple of notes.
You make it sound like this happens on all includes. It is only
include_once/require_once that have this problem. Regular
include/require do not.
This has been addressed in APC by overriding the opcode and providing
our own opcode handler for this case. See
http://svn.php.ne
Hi,
When php script includes a script, php engine compiles the included file.
When opcode caching extensions e.g apc are used, re-compilation is avoided by
apc. But there is a performance problem here. Since php code uses
zend_stream_open to open the included file, open/close system call is s