Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
George Schlossnagle wrote: On Apr 18, 2004, at 2:24 PM, Marc Richards wrote: Do the pages that get included by the __autoload() function get parsed and compiled along with the original page when using a code cache? No, but since all the code caches cache each include file independently, it do

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Andi Gutmans
include()'s are also done at run-time and autoload is very similar, thus, YES code caches will work with it. Please don't ask this question again :) At 02:24 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 12

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread George Schlossnagle
On Apr 18, 2004, at 2:24 PM, Marc Richards wrote: Do the pages that get included by the __autoload() function get parsed and compiled along with the original page when using a code cache? No, but since all the code caches cache each include file independently, it doesn't matter. The include (ass

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
Andi Gutmans wrote: At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Marc, On Sunday 18 Apr 2004 17:06, Marc Richards wrote: > Andi Gutmans wrote: > > At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: > >> Does anyone know when __autoload() gets invoked? Is it during code > >> compilation or at runtime? Has anyo

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Andi Gutmans
At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC or ZPS? Marc > > It ge

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC or ZPS? Marc > > It gets called at run-time and should work with code-

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV] PHP4 -> PHP5 incompatibility - classes must be declared before being used)

2004-04-18 Thread Andi Gutmans
It gets called at run-time and should work with code-caches. Andi At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Marcus Boerger wrote: Along those lines, is there any performance penalty for using __autoload() to load my php classes if I am using a code cache like APC? Ask george Does anyone

[PHP-DEV] __autoload() and code caching (Was: [PHP-DEV] PHP4 -> PHP5 incompatibility - classes must be declared before being used)

2004-04-18 Thread Marc Richards
Marcus Boerger wrote: Along those lines, is there any performance penalty for using __autoload() to load my php classes if I am using a code cache like APC? Ask george Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload()