RE: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution

From: Date: Wed, 30 Jan 2013 10:23:28 +0000
Subject: RE: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-65483@lists.php.net to get a copy of this message
> > XDebug together with an opcode cache is always a shaky thing and not > > something we should be too concerned about. You would never want to > > run both in production. It would be good if they didn't clobber each > > other for dev environment purposes, but I am sure we can figure that > > out. > > This is the kind of info the RFC (and then user doc) should have. It should be easy to implement the same behavior we have with Zend Debugger today also with Xdebug. The debugger essentially intercepts the compile() callback before Optimizer+, and if it determines that the present request should run through the debugger - it bypasses the Optimizer+ altogether and calls directly into zend_compile_file(). I'll update the RFC that it should be possible to integrate it nicely with any other modules. Zeev

« previous php.internals (#65483) next »