Re: RFC: expectations/assertions
| From: | Rowan Collins | 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 internals+get-72210@lists.php.net 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.assertionsThe explanation of *why* it would be INI_SYSTEM could also be added there. -- Rowan Collins [IMSoP]