mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
main.c: fix a typo, add some capitalization [skip ci] (#18905)
This commit is contained in:
parent
8b61c49987
commit
e98879f19c
1 changed files with 4 additions and 4 deletions
|
@ -1317,10 +1317,10 @@ static ZEND_COLD void php_error_cb(int orig_type, zend_string *error_filename, c
|
|||
case E_CORE_WARNING:
|
||||
case E_COMPILE_WARNING:
|
||||
case E_USER_WARNING:
|
||||
/* throw an exception if we are in EH_THROW mode and the type is warning.
|
||||
* fatal errors are real errors and cannot be made exceptions.
|
||||
* exclude deprecated for the sake of BC to old damaged code.
|
||||
* notices are no errors and are not treated as such like E_WARNINGS.
|
||||
/* Throw an exception if we are in EH_THROW mode and the type is warning.
|
||||
* Fatal errors are real errors and cannot be made exceptions.
|
||||
* Exclude deprecated for the sake of BC to old damaged code.
|
||||
* Notices are not errors and are not treated as such like E_WARNINGS.
|
||||
* DO NOT overwrite a pending exception.
|
||||
*/
|
||||
if (!EG(exception)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue