Skip to content

Commit e98879f

Browse files
main.c: fix a typo, add some capitalization [skip ci] (#18905)
1 parent 8b61c49 commit e98879f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,10 +1317,10 @@ static ZEND_COLD void php_error_cb(int orig_type, zend_string *error_filename, c
13171317
case E_CORE_WARNING:
13181318
case E_COMPILE_WARNING:
13191319
case E_USER_WARNING:
1320-
/* throw an exception if we are in EH_THROW mode and the type is warning.
1321-
* fatal errors are real errors and cannot be made exceptions.
1322-
* exclude deprecated for the sake of BC to old damaged code.
1323-
* notices are no errors and are not treated as such like E_WARNINGS.
1320+
/* Throw an exception if we are in EH_THROW mode and the type is warning.
1321+
* Fatal errors are real errors and cannot be made exceptions.
1322+
* Exclude deprecated for the sake of BC to old damaged code.
1323+
* Notices are not errors and are not treated as such like E_WARNINGS.
13241324
* DO NOT overwrite a pending exception.
13251325
*/
13261326
if (!EG(exception)) {

0 commit comments

Comments
 (0)