@@ -319,7 +319,7 @@ static zval *dom_get_property_ptr_ptr(zval *object, zval *member, int type, void
319319 zval * retval = NULL ;
320320
321321 if (!obj -> prop_handler || !zend_hash_exists (obj -> prop_handler , member_str )) {
322- zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
322+ const zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
323323 retval = std_hnd -> get_property_ptr_ptr (object , member , type , cache_slot );
324324 }
325325
@@ -350,7 +350,7 @@ zval *dom_read_property(zval *object, zval *member, int type, void **cache_slot,
350350 retval = & EG (uninitialized_zval );
351351 }
352352 } else {
353- zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
353+ const zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
354354 retval = std_hnd -> read_property (object , member , type , cache_slot , rv );
355355 }
356356
@@ -372,7 +372,7 @@ void dom_write_property(zval *object, zval *member, zval *value, void **cache_sl
372372 if (hnd ) {
373373 hnd -> write_func (obj , value );
374374 } else {
375- zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
375+ const zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
376376 std_hnd -> write_property (object , member , value , cache_slot );
377377 }
378378
@@ -405,7 +405,7 @@ static int dom_property_exists(zval *object, zval *member, int check_empty, void
405405 zval_dtor (& tmp );
406406 }
407407 } else {
408- zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
408+ const zend_object_handlers * std_hnd = zend_get_std_object_handlers ();
409409 retval = std_hnd -> has_property (object , member , check_empty , cache_slot );
410410 }
411411
0 commit comments