com php-src: Hmm, zend.assertions is not really on/off, but -1/0/1: php.ini-development php.ini-production

From: Date: Sun, 19 Apr 2015 12:42:31 +0000
Subject: com php-src: Hmm, zend.assertions is not really on/off, but -1/0/1: php.ini-development php.ini-production
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86389@lists.php.net to get a copy of this message
Commit: 2c2d1a79ce6b922780c6cf3ab1e62a94462290b6 Author: Bob Weinand <bobwei9@hotmail.com> Sun, 19 Apr 2015 14:42:31 +0200 Parents: 306f9123d656eb04e4c1214617cc3f13d0b6b38d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c2d1a79ce6b922780c6cf3ab1e62a94462290b6 Log: Hmm, zend.assertions is not really on/off, but -1/0/1 Changed paths: M php.ini-development M php.ini-production Diff: diff --git a/php.ini-development b/php.ini-development index 0b38ea3..3684f0c 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1573,12 +1573,16 @@ 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 +; Switch whether to compile assertions at all (to have no overhead at run-time) +; -1: Do not compile at all +; 0: Jump over assertion at run-time +; 1: Execute assertions +; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) +; Default Value: 1 +; Development Value: 1 +; Production Value: -1 ; http://php.net/zend.assertions -zend.assertions = On +zend.assertions = 1 ; Assert(expr); active by default.. ; http://php.net/assert.active diff --git a/php.ini-production b/php..ini-production index 0a7b2bc..1238c0e 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1573,12 +1573,16 @@ 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 +; Switch whether to compile assertions at all (to have no overhead at run-time) +; -1: Do not compile at all +; 0: Jump over assertion at run-time +; 1: Execute assertions +; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1) +; Default Value: 1 +; Development Value: 1 +; Production Value: -1 ; http://php.net/zend.assertions -zend.assertions = Off +zend.assertions = -1 ; Assert(expr); active by default. ; http://php.net/assert.active

« previous php.cvs (#86389) next »