Add zend.assertions and assert.exception to php.ini-*

This commit is contained in:
Bob Weinand 2015-04-19 13:27:28 +02:00
parent 740c86bcbd
commit 306f9123d6
2 changed files with 24 additions and 2 deletions

View file

@ -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

View file

@ -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