1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

Be strict on errors in modules startup

This commit is contained in:
Stanislav Malyshev
2000-07-02 16:23:43 +00:00
parent 4f88e66167
commit d3afeb5b4e
+3
View File
@@ -425,6 +425,9 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
if (module_initialized) {
zend_bailout();
return;
} else {
/* bad error in module startup - no way we can live with this */
exit(-2);
}
break;
}