note 126781 added to function.assert
| From: | JulienMOREAUakaPixEye at main dot php dot net | Date: | Wed, 19 Jan 2022 21:18:27 +0000 |
| Subject: | note 126781 added to function.assert | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217520@lists.php.net to get a copy of this message | ||
In order to change zend.assertions or assert.exception values, try with the ini_set() function but
be aware that it may fail.
Example:
<?php
$ret = @ini_set('zend.assertions', '1');
if ($ret === false) echo 'ini_set() failed before line ', __LINE__, PHP_EOL;
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 91.103.43.254)
----
Manual Page -- https://php.net/manual/en/function.assert.php
Edit -- https://main.php.net/note/edit/126781
Del: integrated -- https://main.php.net/note/delete/126781/integrated
Del: useless -- https://main.php.net/note/delete/126781/useless
Del: bad code -- https://main.php.net/note/delete/126781/bad+code
Del: spam -- https://main.php.net/note/delete/126781/spam
Del: non-english -- https://main.php.net/note/delete/126781/non-english
Del: in docs -- https://main.php.net/note/delete/126781/in+docs
Del: other reasons-- https://main.php.net/note/delete/126781
Reject -- https://main.php.net/note/reject/126781
Search -- https://main.php.net/manage/user-notes.php