mirror of
https://github.com/php/php-src.git
synced 2024-12-03 06:44:07 +08:00
- Removed clone_obj from PDORow object handlers, as zend_objects_store_clone_obj requires a clone handler (ce->clone == NULL -> error) and it is not supplied, hence it is being useless and leading ReflectionClass::isCloneable() to give false positive information
This commit is contained in:
parent
c98c39b1c1
commit
9f67894c6f
@ -2754,7 +2754,9 @@ static int row_compare(zval *object1, zval *object2 TSRMLS_DC)
|
||||
}
|
||||
|
||||
zend_object_handlers pdo_row_object_handlers = {
|
||||
ZEND_OBJECTS_STORE_HANDLERS,
|
||||
zend_objects_store_add_ref,
|
||||
zend_objects_store_del_ref,
|
||||
NULL,
|
||||
row_prop_read,
|
||||
row_prop_write,
|
||||
row_dim_read,
|
||||
|
Loading…
Reference in New Issue
Block a user