[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/info/functions/_assert-options.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2019-10-28 11:57:58
Message-ID: svn-cmb-1572263878-348227-1390520750 () svn ! php ! net
[Download RAW message or body]
cmb Mon, 28 Oct 2019 11:57:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348227
Log:
assert_options() is discouraged as of PHP 7.0.0
That's already documented for assert() for years.
Changed paths:
U phpdoc/en/trunk/reference/info/functions/assert-options.xml
Modified: phpdoc/en/trunk/reference/info/functions/assert-options.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/assert-options.xml 2019-10-28 05:34:23 UTC (rev 348226)
+++ phpdoc/en/trunk/reference/info/functions/assert-options.xml 2019-10-28 11:57:58 UTC (rev 348227)
@@ -17,6 +17,15 @@
Set the various <function>assert</function> control options or just query
their current settings.
</para>
+ <note>
+ <simpara>
+ As of PHP 7.0.0, the use of <function>assert_options</function> is discouraged
+ in favor of setting and getting the &php.ini; directives
+ <link linkend="ini.zend.assertions">zend.assertions</link> and
+ <link linkend="ini.assert.exception">assert.exception</link> with
+ <function>ini_set</function> and <function>ini_get</function>, respectively.
+ </simpara>
+ </note>
</refsect1>
<refsect1 role="parameters">
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic