mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Be strict on errors in modules startup
This commit is contained in:
parent
4f88e66167
commit
d3afeb5b4e
@ -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…
Reference in New Issue
Block a user