On 04/02/2014 05:36, Dmitry Stogov wrote:
BTW, current patch has zend.assertions as INI_SYSTEM, which means the
whole server can either have assertions on or off.
It's INI_SYSTEM on purpose. zend.assertions is a 3 way switch that may
disable code generation for assert().
Changing it after PHP files are already cached won't make any effect.
Incidentally, if this is true, the introduction in the RFC is incorrect, as it currently states:
assertions can therefore be disabled and enabled via the PHP_INI_ALL configuration setting zend.assertions
The explanation of *why* it would be INI_SYSTEM could also be added there.
--
Rowan Collins
[IMSoP]