Hi Rasmus, I'm not sure about APC, I saw the problem in ZendOptimizerPlus with php-5.4.10. O+ crashes (or corrupts memory and crashes on following requests) on each trait usage. The problem that PHP tries to deallocate names of methods defined in traits, but O+ keeps them in SHM. I believe APC must have the same problem.
Thanks. Dmitry. On Wed, Dec 19, 2012 at 11:09 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote: > On 12/19/2012 01:39 AM, Dmitry Stogov wrote: > > Hi, > > > > opcode caches support is one of the problem we have with current > > implementation. > > 5.4.10 seems just can't work with any cache at all. > > Of course, I'll care about it, and may give suggestions for necessary > > APC changes. > > Do you have an example use of traits that doesn't work with APC? I > actually thought we had gotten to all of the edge cases here. At least > all the trait tests pass currently with APC. But yes, it was a pain, so > some cleanup would be good. > > -Rasmus >