Skip to content

Commit f9ca0ca

Browse files
committed
- Revert r314387
(property_info.name has the mangled name)
1 parent 937f7fa commit f9ca0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_API.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,7 @@ ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, in
33783378

33793379
property_info.ce = ce;
33803380

3381-
zend_hash_quick_update(&ce->properties_info, property_info.name, property_info.name_length+1, h, &property_info, sizeof(zend_property_info), NULL);
3381+
zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_property_info), NULL);
33823382

33833383
return SUCCESS;
33843384
}

0 commit comments

Comments
 (0)