Skip to content

Commit b2c43a4

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Flush error messages emitted during preloading
2 parents bd3e536 + 45b127a commit b2c43a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4767,6 +4767,7 @@ static int accel_finish_startup(void)
47674767
if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {
47684768
ret = FAILURE;
47694769
}
4770+
preload_flush(NULL);
47704771

47714772
orig_report_memleaks = PG(report_memleaks);
47724773
PG(report_memleaks) = 0;

0 commit comments

Comments
 (0)