summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-26 10:54:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-26 10:54:40 +0200
commit1314ccbf8c3731f000e2c32f34dad21b053333f3 (patch)
tree06eefc0988942a2ee8201fcedc8b54dd97497bf1 /Zend/zend_API.h
parentb6deace022a792ffe7139cfb82654095cfd27364 (diff)
downloadphp-git-1314ccbf8c3731f000e2c32f34dad21b053333f3.tar.gz
Cache __unserialize() instead of unserialize()
We should use these cache slots for the new object serialization mechanism rather than the old one.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index bdcdfaea31..9744612ac7 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -250,8 +250,8 @@ typedef struct _zend_fcall_info_cache {
class_container.__unset = NULL; \
class_container.__isset = NULL; \
class_container.__debugInfo = NULL; \
- class_container.serialize_func = NULL; \
- class_container.unserialize_func = NULL; \
+ class_container.__serialize = NULL; \
+ class_container.__unserialize = NULL; \
class_container.parent = NULL; \
class_container.num_interfaces = 0; \
class_container.trait_names = NULL; \