We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2f228 commit 5c35594Copy full SHA for 5c35594
ext/standard/var_unserializer.re
@@ -644,11 +644,13 @@ declared_property:
644
if (UNEXPECTED(obj->ce->ce_flags & ZEND_ACC_NO_DYNAMIC_PROPERTIES)) {
645
zend_throw_error(NULL, "Cannot create dynamic property %s::$%s",
646
ZSTR_VAL(obj->ce->name), zend_get_unmangled_property_name(Z_STR_P(&key)));
647
+ zval_ptr_dtor_str(&key);
648
goto failure;
649
} else if (!(obj->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES)) {
650
zend_error(E_DEPRECATED, "Creation of dynamic property %s::$%s is deprecated",
651
652
if (EG(exception)) {
653
654
655
}
656
0 commit comments