Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Gustavo Lopes
On Fri, 03 Sep 2010 22:50:50 +0100, Pierre Joye wrote: Is there any bug report about this breakage? OK, here are three in the hope they're not left rotting: http://bugs.php.net/bug.php?id=52772 http://bugs.php.net/bug.php?id=52773 http://bugs.php.net/bug.php?id=52774 -- Gustavo Lopes -

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Pierre Joye
On Fri, Sep 3, 2010 at 11:40 PM, Gustavo Lopes wrote: > On Fri, 03 Sep 2010 22:25:00 +0100, Michael Wallner 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_obj

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Gustavo Lopes
On Fri, 03 Sep 2010 22:25:00 +0100, Michael Wallner 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 speci

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Michael Wallner
Am 03.09.2010 21:07, schrieb Gustavo Lopes: [...] Although the Zend engine also has some parts with poor proxy objects supports (e.g. I don't think you can use proxy [...] IMO one cannot even name it "support". [...] Additionally on object destruction, at the latest on shutdown, (the default

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Gustavo Lopes
On Fri, 03 Sep 2010 12:37:58 +0100, Michael Wallner wrote: OBJECTS2_HOWTO--okay maybe a tiny bit out of date, but nevertheless--states that for the get_property_ptr_ptr object handler, which is supposed to return zval** of the property, one can use zend_proxy_objects for properties not really

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Michael Wallner
On 09/03/2010 01:20 PM, Pierre Joye wrote: hehe, I did not mean that this mail was offensive. Only that this stuff is the best way to get mad at php internals. A more verbose post would help to, what's your actual proposal/wish or an example case :) Alright then. OBJECTS2_HOWTO--okay maybe a t

Re: [PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Pierre Joye
On Fri, Sep 3, 2010 at 1:04 PM, Michael Wallner wrote: > On 09/03/2010 11:35 AM, Michael Wallner wrote: >> >> At the current state zend_object_proxies are pretty broken. > > Pierre told me that the tone of this mail may be interpreted offensive. > That was not my intention, maybe I'd better have w

[PHP-DEV] Re: remove or fix zend_object_proxies

2010-09-03 Thread Michael Wallner
On 09/03/2010 11:35 AM, Michael Wallner wrote: At the current state zend_object_proxies are pretty broken. Pierre told me that the tone of this mail may be interpreted offensive. That was not my intention, maybe I'd better have written "I'd suggest to remove or fix zend_object_proxies". Sorry