svn: /phpdoc/en/trunk/appendices/ ini.core.xml
| From: | Joe Watkins | Date: | Mon, 28 Mar 2016 06:42:48 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ ini.core.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14083@lists.php.net to get a copy of this message | ||
krakjoe Mon, 28 Mar 2016 06:42:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338838
Log:
Fix #71873: additional explanation for zend.assertions in ini.core
Bug: https://bugs.php.net/71873 (Verified)
Warning:zend.assertions may be completely enabled or disabled only in php.ini
Changed paths:
U phpdoc/en/trunk/appendices/ini.core.xml
Modified: phpdoc/en/trunk/appendices/ini.core.xml
===================================================================
--- phpdoc/en/trunk/appendices/ini.core.xml 2016-03-28 00:22:22 UTC (rev 338837)
+++ phpdoc/en/trunk/appendices/ini.core.xml 2016-03-28 06:42:48 UTC (rev 338838)
@@ -146,7 +146,7 @@
<row>
<entry><link
linkend="ini.zend.assertions">zend.assertions</link></entry>
<entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
+ <entry>PHP_INI_ALL with restrictions</entry>
<entry>Available since PHP 7.0.0.</entry>
</row>
<row>
@@ -416,8 +416,18 @@
executed (development mode). When set to <literal>0</literal>,
assertion code will be generated but it will be skipped (not executed)
at runtime. When set to <literal>-1</literal>, assertion code will not
- be generated, making the assertions zero-cost (production mode).
+ be generated, making the assertions zero-cost (production mode).
</simpara>
+ <note>
+ <para>
+ If a process is started in production mode, <link
linkend="ini.zend.assertions">zend.assertions</link>
+ cannot be changed at runtime, since the code for assertions was not generated.
+ </para>
+ <para>
+ If a process is started in development mode, <link
linkend="ini.zend.assertions">zend.assertions</link>
+ cannot be set to <literal>-1</literal> at runtime.
+ </para>
+ </note>
</listitem>
</varlistentry>