note 126764 added to function.ini-set
| From: | JulienMOREAUakaPixEye at main dot php dot net | Date: | Fri, 14 Jan 2022 10:48:16 +0000 |
| Subject: | note 126764 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217492@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.ini-set.php
Edit -- https://main.php.net/note/edit/126764
Del: integrated -- https://main.php.net/note/delete/126764/integrated
Del: useless -- https://main.php.net/note/delete/126764/useless
Del: bad code -- https://main.php.net/note/delete/126764/bad+code
Del: spam -- https://main.php.net/note/delete/126764/spam
Del: non-english -- https://main.php.net/note/delete/126764/non-english
Del: in docs -- https://main.php.net/note/delete/126764/in+docs
Del: other reasons-- https://main.php.net/note/delete/126764
Reject -- https://main.php.net/note/reject/126764
Search -- https://main.php.net/manage/user-notes.php