diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-04-19 13:27:28 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-04-19 13:27:28 +0200 |
commit | 306f9123d656eb04e4c1214617cc3f13d0b6b38d (patch) | |
tree | 40037dcfcdb44603895cc21d832fc95850cac833 /php.ini-development | |
parent | 740c86bcbd578c59d455b9ec831108b03808e912 (diff) | |
download | php-git-306f9123d656eb04e4c1214617cc3f13d0b6b38d.tar.gz |
Add zend.assertions and assert.exception to php.ini-*
Diffstat (limited to 'php.ini-development')
-rw-r--r-- | php.ini-development | 13 |
1 files changed, 12 insertions, 1 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 |