mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Fix typos
This commit is contained in:
parent
76e07faf87
commit
b6554f5ad7
1 changed files with 2 additions and 2 deletions
|
@ -659,11 +659,11 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
|
||||||
break;
|
break;
|
||||||
case E_NOTICE:
|
case E_NOTICE:
|
||||||
case E_USER_NOTICE:
|
case E_USER_NOTICE:
|
||||||
/* notices are no errors and are not treated as such like E_WARNIGNS */
|
/* notices are no errors and are not treated as such like E_WARNINGS */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* throw an exception if we are in EH_THROW mode
|
/* throw an exception if we are in EH_THROW mode
|
||||||
* but DO NOT overwrite a pending excepption
|
* but DO NOT overwrite a pending exception
|
||||||
*/
|
*/
|
||||||
if (PG(error_handling) == EH_THROW && !EG(exception)) {
|
if (PG(error_handling) == EH_THROW && !EG(exception)) {
|
||||||
zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC);
|
zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue