1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

- Fix issue with name mangling

This commit is contained in:
Marcus Boerger
2006-10-31 19:21:03 +00:00
parent fc84aad474
commit f7600a7b67

View File

@@ -241,9 +241,9 @@ str_type:
if (is_object) {
zstr prop_name, class_name;
zend_u_unmangle_property_name(ztype, string_key, str_len - 1, &class_name, &prop_name);
int mangled = zend_u_unmangle_property_name(ztype, string_key, str_len - 1, &class_name, &prop_name);
if (class_name.v) {
if (class_name.v && mangled == SUCCESS) {
if (class_name.s[0]=='*') {
zend_printf("%R:protected", ztype, prop_name);
} else {