"Rasmus Lerdorf" wrote: > shire wrote: >> I agree for the general case, in our development environment though this >> might cause some pains. But we could always start there and see how it >> goes. I agree that Xdebug isn't really a use case we always need to >> optimize for. > > Is it ever a case we need to optimize for? If you are running xdebug, > you aren't worried about execution speed. You certainly aren't going to > be running your PHP under xdebug in any sort of production environment. > > -Rasmus
Rasmus, Perhaps, you miss the point that people may want to measure performance (the speed) using either xdebug or the other php profiling tools like dbg, zend's profiler, or apd. If you turn the cache off, they'll certainly get misleading results pointing to wrong bottlenecks. In other words, it's not apc should be adapted to xdebug. but xdebug should be adapted to lazy loading. Therefore it's crusial to have the proposed feature well-documented somewhere (where btw?) and have certain mechanisms that would allow all kinds of debugger/profiles co-exist with caches like apc. -jv -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php