Re: print_r unaware of object's read_property handler

From: Date: Thu, 15 Feb 2007 21:05:53 +0000
Subject: Re: print_r unaware of object's read_property handler
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4541@lists.php.net to get a copy of this message
On Thu, 15 Feb 2007 18:28:37 +0300 antony@zend.com (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

« previous php.pecl.dev (#4541) next »