logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: print_r unaware of object's read_property handler: msg#00068

Subject: Re: print_r unaware of object's read_property handler
On Thu, 15 Feb 2007 18:28:37 +0300
antony@xxxxxxxx (Antony Dovgal) wrote:

> > I need to use ZEND2 and GObject functionality.
> 
> So what?

How can I say...?
One framework has clear rules for objects and properties and another one has 
not :)
 
So, I just only need what's the preffered way to register object's or class 
default properties.

1. Set object's properties in constructor.
Bad for derived classes which use own constructor.

2. Update ce.default_properties hash when class is registered.
Is it safe? ZEND1 segfaulted with such implementation.

Piotras



<Prev in Thread] Current Thread [Next in Thread>