summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_file_cache.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-06-17 12:07:43 +0300
committerDmitry Stogov <dmitry@zend.com>2015-06-17 12:07:43 +0300
commita524a375d928366cc971b938f386556d1ef3d6e7 (patch)
treedff59aca87c1d125c7ff194db7fd44cadb70c7af /ext/opcache/zend_file_cache.c
parent8c8ad8f40ed9af2d95057a078dbaa844d072cb68 (diff)
downloadphp-git-a524a375d928366cc971b938f386556d1ef3d6e7.tar.gz
Improved class type hints checks, by caching resolved class entries in run-time cache.
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r--ext/opcache/zend_file_cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 10a149c9f6..219bb50820 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -438,9 +438,6 @@ static void zend_file_cache_serialize_op_array(zend_op_array *op_arra
if (!IS_SERIALIZED(p->class_name)) {
SERIALIZE_STR(p->class_name);
}
- if (p->class_name && !IS_SERIALIZED(p->lower_class_name)) {
- SERIALIZE_STR(p->lower_class_name);
- }
p++;
}
}
@@ -965,9 +962,6 @@ static void zend_file_cache_unserialize_op_array(zend_op_array *op_arr
if (!IS_UNSERIALIZED(p->class_name)) {
UNSERIALIZE_STR(p->class_name);
}
- if (p->class_name && !IS_UNSERIALIZED(p->lower_class_name)) {
- UNSERIALIZE_STR(p->lower_class_name);
- }
p++;
}
}