Skip to content

Commit ba6c005

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix GH-16849: Error dialog causes process to hang
2 parents 3e1138e + 4c57105 commit ba6c005

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,8 +2120,9 @@ zend_result php_module_startup(sapi_module_struct *sf, zend_module_entry *additi
21202120
_set_invalid_parameter_handler(old_invalid_parameter_handler);
21212121
}
21222122

2123-
/* Disable the message box for assertions.*/
2123+
/* Disable the message box for assertions and errors.*/
21242124
_CrtSetReportMode(_CRT_ASSERT, 0);
2125+
_CrtSetReportMode(_CRT_ERROR, 0);
21252126
#endif
21262127

21272128
#ifdef ZTS

0 commit comments

Comments
 (0)