note 127612 added to function.mysqli-report
| From: | sethVoid at thevoid | Date: | Mon, 12 Sep 2022 10:29:37 +0000 |
| Subject: | note 127612 added to function.mysqli-report | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219556@lists.php.net to get a copy of this message | ||
If you use your own DBException handling for example
<?php
if (!@real_connect(HOST, USERNAME, PASSWORD, NAME, PORT))
{
throw new DBException(connect_errno);
}
?>
Then turn off errors like this for php 8 >
<?php
mysqli_report(MYSQLI_REPORT_OFF);
?>
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.173 (proxied: 213.48.236.122)
----
Manual Page -- https://php.net/manual/en/function.mysqli-report.php
Edit -- https://main.php.net/note/edit/127612
Del: integrated -- https://main.php.net/note/delete/127612/integrated
Del: useless -- https://main.php.net/note/delete/127612/useless
Del: bad code -- https://main.php.net/note/delete/127612/bad+code
Del: spam -- https://main.php.net/note/delete/127612/spam
Del: non-english -- https://main.php.net/note/delete/127612/non-english
Del: in docs -- https://main.php.net/note/delete/127612/in+docs
Del: other reasons-- https://main.php.net/note/delete/127612
Reject -- https://main.php.net/note/reject/127612
Search -- https://main.php.net/manage/user-notes.php