diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-10-27 14:45:54 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-10-27 14:45:54 +0300 |
commit | cf67a421e986b1020dd390a694185039b131ba7c (patch) | |
tree | f19917f90e3e80510f0d70262dfe52ba2f7cb207 /ext/standard/var_unserializer.c | |
parent | 8e01026b829f51d80d62648db9d81263454b2988 (diff) | |
download | php-git-cf67a421e986b1020dd390a694185039b131ba7c.tar.gz |
Use per-request heap instead of system one
Diffstat (limited to 'ext/standard/var_unserializer.c')
-rw-r--r-- | ext/standard/var_unserializer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/var_unserializer.c b/ext/standard/var_unserializer.c index d798b589fe..4a797e69c7 100644 --- a/ext/standard/var_unserializer.c +++ b/ext/standard/var_unserializer.c @@ -433,19 +433,19 @@ string_key: && (existing_propinfo->flags & ZEND_ACC_PPP_MASK)) { if (existing_propinfo->flags & ZEND_ACC_PROTECTED) { new_key = zend_mangle_property_name( - "*", 1, ZSTR_VAL(unmangled), ZSTR_LEN(unmangled), Z_OBJCE_P(rval)->type & ZEND_INTERNAL_CLASS); + "*", 1, ZSTR_VAL(unmangled), ZSTR_LEN(unmangled), 0); zend_string_release(unmangled); } else if (existing_propinfo->flags & ZEND_ACC_PRIVATE) { if (unmangled_class != NULL && strcmp(unmangled_class, "*") != 0) { new_key = zend_mangle_property_name( unmangled_class, strlen(unmangled_class), ZSTR_VAL(unmangled), ZSTR_LEN(unmangled), - Z_OBJCE_P(rval)->type & ZEND_INTERNAL_CLASS); + 0); } else { new_key = zend_mangle_property_name( ZSTR_VAL(existing_propinfo->ce->name), ZSTR_LEN(existing_propinfo->ce->name), ZSTR_VAL(unmangled), ZSTR_LEN(unmangled), - Z_OBJCE_P(rval)->type & ZEND_INTERNAL_CLASS); + 0); } zend_string_release(unmangled); } else { |