APC and autoloading
| From: | David Zülke | Date: | Mon, 25 Sep 2006 07:42:00 +0000 |
| Subject: | APC and autoloading | ||
| Groups: | php.apc.dev | ||
| Request: | Send a blank email to php-apc-dev+get-7@lists.php.net to get a copy of this message | ||
Hi folks,
I hope this is the right place for my question ;)
Over at the Propel (http://propel.phpdb.org) Dev Mailing List, we're discussing moving to autoloading completely. Someone then mentioned the following ticket: http://pecl.php.net/bugs/bug.php?id=8765
Is it indeed accurate that APC doesn't accelerate _anything_ if a class is loaded via autoloading? I know it doesn't work well with _onces, but PHP 5.2 fixes that from what I understand.
I always thought autoloading was the way to go, since it's not doing a _once (for obvious reasons), and it's only loading stuff on demand, so I assumed it to be the fastest of all possible solutions.
I'd greatly appreciate any insight on this "issue".
Cheers and thanks in advance,
David