Re: RFC: expectations/assertions

From: Date: Tue, 04 Feb 2014 20:57:35 +0000
Subject: Re: RFC: expectations/assertions
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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]

Thread (44 messages)

« previous php.internals (#72210) next »