Skip to content

Commit ba45add

Browse files
committed
Use correct variable
This seems to stem from a copy paste, however there is no object variable in this function
1 parent 3ebce8e commit ba45add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_object_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ ZEND_API zval *zend_std_get_property_ptr_ptr(zend_object *zobj, zend_string *nam
10071007
zend_property_info *prop_info = NULL;
10081008

10091009
#if DEBUG_OBJECT_HANDLERS
1010-
fprintf(stderr, "Ptr object #%d property: %s\n", object->handle, ZSTR_VAL(name));
1010+
fprintf(stderr, "Ptr object #%d property: %s\n", zobj->handle, ZSTR_VAL(name));
10111011
#endif
10121012

10131013
property_offset = zend_get_property_offset(zobj->ce, name, (zobj->ce->__get != NULL), cache_slot, &prop_info);

0 commit comments

Comments
 (0)