From: Felipe Pena Date: Sun, 7 Aug 2011 13:04:02 +0000 (+0000) Subject: - Revert r314387 X-Git-Tag: php-5.4.0beta1~499 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=619cfeef469ee880fda8af3bc8f7e9886f89c9bd;p=php - Revert r314387 (property_info.name has the mangled name) --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 18aae835fd..96e5b13a6b 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3378,7 +3378,7 @@ ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, in property_info.ce = ce; - zend_hash_quick_update(&ce->properties_info, property_info.name, property_info.name_length+1, h, &property_info, sizeof(zend_property_info), NULL); + zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_property_info), NULL); return SUCCESS; }