Skip to content

Commit e2440c3

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Preloading is not comatible with dl() function
2 parents 4d9e5dd + d5d76ea commit e2440c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4353,6 +4353,12 @@ static int accel_preload(const char *config)
43534353

43544354
CG(map_ptr_last) = orig_map_ptr_last;
43554355

4356+
if (EG(full_tables_cleanup)) {
4357+
zend_accel_error(ACCEL_LOG_FATAL, "Preloading is not comatible with dl() function.");
4358+
ret = FAILURE;
4359+
goto finish;
4360+
}
4361+
43564362
/* Inheritance errors may be thrown during linking */
43574363
zend_try {
43584364
preload_link();

0 commit comments

Comments
 (0)