On Fri, 02 Jan 2004, Jon Parise wrote: > It appears to be a side-effect of not defining the 'scope' field in > the zend_internal_function call that is invokved from my custom > 'constructor_get' handler. If the 'scope' field is NULL, my object > is treated as a reference. If I assign my class entry to the 'scope' > field, the object is "normal" (i.e. not a reference).
Hmm, can I see the code? > > zval_dtor() will. It calls del_ref on the underlying object. > > I see. I would have to call zval_dtor() myself in any of the cases > where I knowingly created an additional reference. That makes sense. Ditto. :) - Andrei -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php