Browse Source

Be strict on errors in modules startup

PHP-4.0.5
Stanislav Malyshev 26 years ago
parent
commit
d3afeb5b4e
  1. 3
      main/main.c

3
main/main.c

@ -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;
}

Loading…
Cancel
Save