Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
  Flush error messages emitted during preloading
This commit is contained in:
Dmitry Stogov 2021-10-08 12:35:38 +03:00
commit b2c43a4efb

View File

@ -4767,6 +4767,7 @@ static int accel_finish_startup(void)
if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {
ret = FAILURE;
}
preload_flush(NULL);
orig_report_memleaks = PG(report_memleaks);
PG(report_memleaks) = 0;