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) zend_objects_destroy_object causes a SEGV because
zend_proxy_objects actually are not zend_objects and don't have
a class entry.


I don't see the issue here. You should define an appropriate callback. 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?

Mike




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to