note 121294 deleted from internals2.opcodes.throw by cmb
| From: | cmb@php.net | Date: | Sun, 10 Jan 2021 13:24:01 +0000 |
| Subject: | note 121294 deleted from internals2.opcodes.throw by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216106@lists.php.net to get a copy of this message | ||
Note Submitter: Mokrator
----
concider use of "trigger_error()"
you can define the type of error to log an error.
trigger_error('usererror occured...', E_ERROR);
take care if you are using variables in the error-text that they could cause a security risk due to
that they are not escaped or can contain html (including <script>) code if the error gets
echo'ed to the browser.