Re: Re: zend_call_method
| From: | Johannes Schlüter | Date: | Tue, 07 Sep 2010 18:20:41 +0000 |
| Subject: | Re: Re: zend_call_method | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7614@lists.php.net to get a copy of this message | ||
On Tue, 2010-09-07 at 18:27 +0100, "Gustavo Lopes" wrote:
> See
> http://lxr.php.net/opengrok/xref/PHP_5_3/Zend/zend_objects.c#50
>
> So all you have to do is to define the destructor method appropriately
> (e.g. including the flag ZEND_ACC_DTOR in the appropriate internal method
Please also call it __destruct().
johannes