diff options
-rw-r--r-- | php.ini-development | 13 | ||||
-rw-r--r-- | php.ini-production | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/php.ini-development b/php.ini-development index ffb1b51c73..0b38ea3885 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1573,11 +1573,22 @@ url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" ;session.upload_progress.min_freq = "1" [Assertion] +; Do not compile assertions at all (to have no overhead at run-time) +; Default Value: On +; Development Value: On +; Production Value: Off +; http://php.net/zend.assertions +zend.assertions = On + ; Assert(expr); active by default. ; http://php.net/assert.active ;assert.active = On -; Issue a PHP warning for each failed assertion. +; Throw an AssertationException on failed assertions +; http://php.net/assert.exception +;assert.exception = On + +; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active) ; http://php.net/assert.warning ;assert.warning = On diff --git a/php.ini-production b/php.ini-production index 3ff9ac5a61..0a7b2bcb86 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1573,11 +1573,22 @@ url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" ;session.upload_progress.min_freq = "1" [Assertion] +; Do not compile assertions at all (to have no overhead at run-time) +; Default Value: On +; Development Value: On +; Production Value: Off +; http://php.net/zend.assertions +zend.assertions = Off + ; Assert(expr); active by default. ; http://php.net/assert.active ;assert.active = On -; Issue a PHP warning for each failed assertion. +; Throw an AssertationException on failed assertions +; http://php.net/assert.exception +;assert.exception = On + +; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active) ; http://php.net/assert.warning ;assert.warning = On |