diff --git a/NEWS b/NEWS index 320445cf4c1..babea324fe8 100644 --- a/NEWS +++ b/NEWS @@ -63,6 +63,9 @@ PHP NEWS - SOAP: . Fix make check being invoked in ext/soap. (Ma27) +- Windows: + . Fixed bug GH-16849 (Error dialog causes process to hang). (cmb) + 07 Nov 2024, PHP 8.3.14RC1 - CLI: diff --git a/main/main.c b/main/main.c index 591daaef3f5..60e970b76ad 100644 --- a/main/main.c +++ b/main/main.c @@ -2078,8 +2078,9 @@ zend_result php_module_startup(sapi_module_struct *sf, zend_module_entry *additi _set_invalid_parameter_handler(old_invalid_parameter_handler); } - /* Disable the message box for assertions.*/ + /* Disable the message box for assertions and errors.*/ _CrtSetReportMode(_CRT_ASSERT, 0); + _CrtSetReportMode(_CRT_ERROR, 0); #endif #ifdef ZTS