diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-03 11:50:14 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-03 11:50:14 +0100 |
commit | 51b5f7d67d639fedcc12451a457f09f493f7db34 (patch) | |
tree | b8764d6538f6435df36d32733fd2f97766490b9f /ext/opcache/ZendAccelerator.c | |
parent | 14c42c69611a6c3e2f077ce6b389b1000edd2995 (diff) | |
download | php-git-51b5f7d67d639fedcc12451a457f09f493f7db34.tar.gz |
Don't ignore internal classes during preloading
When preloading, it's fine to make use of internal class information,
as we do not support Windows. It is also necessary to allow proper
variance checks against internal classes.
Diffstat (limited to 'ext/opcache/ZendAccelerator.c')
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 39d04f9a95..5f1d80c083 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -4450,7 +4450,6 @@ static int accel_preload(const char *config, zend_bool in_child) } CG(compiler_options) |= ZEND_COMPILE_PRELOAD; CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY; - CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES; CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING; CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION; CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES; |