Re: how to mark protected properties?

From: Date: Wed, 09 Jun 2004 04:55:33 +0000
Subject: Re: how to mark protected properties?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30242@lists.php.net to get a copy of this message
There's a big warning describing the known bugs with overload on here. http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.php (** return-by reference is also broken) I generally avoid pass-by-ref in normal code anyway.. so it very rarely catches me out... :) Regards Alan Justin Patrin wrote:
Mika Tuupola wrote:
On Tue, 8 Jun 2004, Justin Patrin wrote:
It screws lots of things up. For instance, DB_DataObject supports using __call, but turning that feature on tends to make everything break. In fact, PHP segfaults when you use it.
    All I know is I have been using it for overloaded accessor
    methods since 4.3.2 without problems.
It has something to do with references, not really sure specifically myself. It *does* segfault PHP when a certain thing happens. ;-)
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#30242) next »