mirror of
https://github.com/php/php-src.git
synced 2025-01-21 03:03:41 +08:00
sascha points out this is more purdy-like
This commit is contained in:
parent
ce91e18377
commit
97b5a5df4f
@ -222,7 +222,7 @@ sxe_property_get_ptr(zval *object, zval *member TSRMLS_DC)
|
||||
property = sxe_property_read(object, member TSRMLS_CC);
|
||||
zval_add_ref(&property);
|
||||
|
||||
memcpy(property_ptr, &property, sizeof(zval *));
|
||||
*property_ptr = property;
|
||||
|
||||
return property_ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user