On Fri, Sep 3, 2010 at 11:40 PM, Gustavo Lopes <glo...@nebm.ist.utl.pt> wrote: > On Fri, 03 Sep 2010 22:25:00 +0100, Michael Wallner <m...@php.net> wrote: > >>> If they're not zend standard objects, don't >>> use zend_objects_destroy_object in your zend_objects_store_put call (or >>> NULL, which defaults to >>> zend_objects_destroy_object). The store accepts anything and even has a >>> clone callback specifically to make easier >>> the cloning of non-standard Zend objects. >> >> I didn't do anything. I tried to use the API like >> zend_object_create_proxy. >> I wonder what you're trying to tell me? >> > > Well... zend_object_create_proxy is broken. > > I'd say Dmitry broke it in revision 200527: > > http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_objects_API.c?r1=200526&r2=200527& > > zend_object_create_proxy should be changed to pass a no-op implementation to > zend_objects_store_put for the dtor callback or Dmitry's change should be > reverted.
Is there any bug report about this breakage? Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php