]> granicus.if.org Git - php/commitdiff
Use correct variable
authorGeorge Peter Banyard <girgias@php.net>
Tue, 5 May 2020 20:12:31 +0000 (22:12 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Tue, 5 May 2020 20:12:31 +0000 (22:12 +0200)
This seems to stem from a copy paste, however there is no object variable in this function

Zend/zend_object_handlers.c

index f678277fd2452c5f4b9d85ba8732d334ccfd7734..b0dea2255546ae4b7cc34b15f3a1ada12f5060f0 100644 (file)
@@ -1007,7 +1007,7 @@ ZEND_API zval *zend_std_get_property_ptr_ptr(zend_object *zobj, zend_string *nam
        zend_property_info *prop_info = NULL;
 
 #if DEBUG_OBJECT_HANDLERS
-       fprintf(stderr, "Ptr object #%d property: %s\n", object->handle, ZSTR_VAL(name));
+       fprintf(stderr, "Ptr object #%d property: %s\n", zobj->handle, ZSTR_VAL(name));
 #endif
 
        property_offset = zend_get_property_offset(zobj->ce, name, (zobj->ce->__get != NULL), cache_slot, &prop_info);