Send a blank email to [email protected] to get a copy of this message
Author: DanielEScherzer (DanielEScherzer)
Committer: GitHub (web-flow)
Pusher: DanielEScherzer
Date: 2025-06-26T10:52:33-07:00
Commit: https://github.com/php/php-src/commit/e98879f19c1a7c7808eac656b0a4f984a2cc284c
Raw diff: https://github.com/php/php-src/commit/e98879f19c1a7c7808eac656b0a4f984a2cc284c.diff
main.c: fix a typo, add some capitalization [skip ci] (#18905)
Changed paths:
M main/main.c
Diff:
diff --git a/main/main.c b/main/main.c
index 18c8e2dfac7e..3518e4137ece 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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)) {