com php-src: Add zend.assertions and assert.exception to php.ini-*: php.ini-development php.ini-production
| From: | Bob Weinand | Date: | Sun, 19 Apr 2015 11:27:28 +0000 |
| Subject: | com php-src: Add zend.assertions and assert.exception to php.ini-*: php.ini-development php.ini-production | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86388@lists.php.net to get a copy of this message | ||
Commit: 306f9123d656eb04e4c1214617cc3f13d0b6b38d
Author: Bob Weinand <bobwei9@hotmail.com> Sun, 19 Apr 2015 13:27:28 +0200
Parents: 740c86bcbd578c59d455b9ec831108b03808e912
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=306f9123d656eb04e4c1214617cc3f13d0b6b38d
Log:
Add zend.assertions and assert.exception to php.ini-*
Changed paths:
M php.ini-development
M php.ini-production
Diff:
diff --git a/php.ini-development b/php.ini-development
index ffb1b51..0b38ea3 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 3ff9ac5..0a7b2bc 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