From: Pierre Joye Date: Wed, 21 May 2008 15:55:31 +0000 (+0000) Subject: - actually disable the ASSERT error dialog box (affects debug mode only), helps to... X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbc34ba14a042f298e938194d10d0701a9ecf7a8;p=php - actually disable the ASSERT error dialog box (affects debug mode only), helps to run the tests and coverage analyze --- diff --git a/main/main.c b/main/main.c index 47a54cc5fe..9acf6ac13a 100644 --- a/main/main.c +++ b/main/main.c @@ -1691,6 +1691,9 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod if (old_invalid_parameter_handler != NULL) { _set_invalid_parameter_handler(old_invalid_parameter_handler); } + + /* Disable the message box for assertions.*/ + _CrtSetReportMode(_CRT_ASSERT, 0); #endif #else php_os=PHP_OS;