diff options
Diffstat (limited to 'ext/opcache/zend_persist.c')
-rw-r--r-- | ext/opcache/zend_persist.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 1ad195c689..ae997b9a60 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -1090,16 +1090,16 @@ static void zend_update_parent_ce(zend_class_entry *ce) ce->__call = tmp; } } - if (ce->serialize_func) { - zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->serialize_func); + if (ce->__serialize) { + zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__serialize); if (tmp != NULL) { - ce->serialize_func = tmp; + ce->__serialize = tmp; } } - if (ce->unserialize_func) { - zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->unserialize_func); + if (ce->__unserialize) { + zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__unserialize); if (tmp != NULL) { - ce->unserialize_func = tmp; + ce->__unserialize = tmp; } } if (ce->__isset) { |