A couple of weeks ago, Zeev Suraski, one of the main contributors of PHP and part-time co-founder Zend, offered to include Zend Optimizer + in the core of PHP.
Zend Optimizer + is, just like Apc, the cache of opcodes. But, unlike Apc, he also knows how to apply standard code optimization patterns.
In addition, the optimizer gives one good bonus - its development is supported by a commercial organization, for example, stable support for the traits appeared almost simultaneously with the release of PHP 5.4, while APC had to wait about six months. Currently it already supports PHP 5.5.
Also according to the statements of its developers, in many cases it is faster than Apc by up to 50% (although this is synthetics). On a real, quite simple application, the increase in the speed of page generation was about 10% (compared to Apc), but I think in more complex applications it can be more beneficial to optimize it.
At the moment, the optimizer works fine with a symphony, but there was an issue on the githaba regarding the Nette framework, and was promptly closed. In general, there are still some bugs in the optimizer, obviously; previously, it was used only by users of Zend Server, of which there are not many, so he didn’t receive due 'popular' testing, but despite this, the bugs were quickly fixed, so ... let's test!
The project repository is
here , there is also an instruction on how to build it under Linux, but if you want to use it under Windows, you can get ready-made binaries
from here .
By the way, you can read what optimizations are applied in different
circles of hell passes in the comments in the Optimizer / pass * .c files
PS The save_comments directive, when set to zero, breaks down the work of libraries that rely on annotations. Read the README carefully.