diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-04-30 02:22:58 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-04-30 02:22:58 +0300 |
commit | 3d2a6d9bedcadceda9b58deaae774e8551ff294e (patch) | |
tree | c2140e21bce3b0138f2338417bc9347eee0a4683 /ext | |
parent | faf24142f3f58d0f4c99143b06d120fe8b853d47 (diff) | |
parent | 8cdd2158949994f110188818e84b54db9a0ed4d1 (diff) | |
download | php-git-3d2a6d9bedcadceda9b58deaae774e8551ff294e.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Also, use ZEND_ACC_PRELOADED for classes
Diffstat (limited to 'ext')
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 113371872f..284a1b7875 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3225,6 +3225,7 @@ static void preload_move_user_classes(HashTable *src, HashTable *dst) if (copy) { zend_function *function; + ce->ce_flags |= ZEND_ACC_PRELOADED; _zend_hash_append_ptr(dst, p->key, ce); ZEND_HASH_FOREACH_PTR(&ce->function_table, function) { if (EXPECTED(function->type == ZEND_USER_FUNCTION)) { |