felipe Wed, 02 Jun 2010 16:54:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300097
Log: - 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 Changed paths: U php/php-src/trunk/ext/pdo/pdo_stmt.c Modified: php/php-src/trunk/ext/pdo/pdo_stmt.c =================================================================== --- php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-06-02 15:29:42 UTC (rev 300096) +++ php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-06-02 16:54:13 UTC (rev 300097) @@ -2754,7 +2754,9 @@ } 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,
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php