From: Elan Ruusamäe Date: Fri, 29 May 2015 09:45:12 +0000 (+0300) Subject: disable assert.active X-Git-Tag: auto/th/php53-5.3.29-17~5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp.git;a=commitdiff_plain;h=d185657 disable assert.active assert() evaluates code just like eval(). Unless it is actually required in a live environment, which is almost certainly not the case, this feature should be deactivated. from https://github.com/sektioneins/pcc --- diff --git a/php-ini.patch b/php-ini.patch index f336bc4..91c3a8a 100644 --- a/php-ini.patch +++ b/php-ini.patch @@ -209,7 +209,16 @@ [Session] ; Handler used to store/retrieve data. -@@ -1863,7 +1774,7 @@ +@@ -1678,7 +1610,7 @@ + [Assertion] + ; Assert(expr); active by default. + ; http://php.net/assert.active +-;assert.active = On ++assert.active = Off + + ; Issue a PHP warning for each failed assertion. + ; http://php.net/assert.warning +@@ -1806,7 +1738,7 @@ ; Sets the directory name where SOAP extension will put cache files. ; http://php.net/soap.wsdl-cache-dir