summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_persist.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-24 14:28:44 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-11 13:09:33 +0200
commit89b2d88659b8a561769f51dfab1fa325e7fc0603 (patch)
treea2832b49dd0036f3928d10279d28422f687caf39 /ext/opcache/zend_persist.c
parent9ecc0a4f296cf5c72572e75a9734b40d941e2427 (diff)
downloadphp-git-89b2d88659b8a561769f51dfab1fa325e7fc0603.tar.gz
Register class before fetching parent
We want the class declaration to be available while compiling the parent class.
Diffstat (limited to 'ext/opcache/zend_persist.c')
-rw-r--r--ext/opcache/zend_persist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c
index f32644f4c6..f5e1c45738 100644
--- a/ext/opcache/zend_persist.c
+++ b/ext/opcache/zend_persist.c
@@ -450,7 +450,6 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc
}
break;
case ZEND_DECLARE_ANON_CLASS:
- case ZEND_DECLARE_ANON_INHERITED_CLASS:
case ZEND_FE_FETCH_R:
case ZEND_FE_FETCH_RW:
case ZEND_SWITCH_LONG: