Re: Property Overloading RFC

From: Date: Mon, 08 Aug 2005 16:52:52 +0000
Subject: Re: Property Overloading RFC
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-17614@lists.php.net to get a copy of this message
On Aug 4, 2005, at 12:09 AM, Derick Rethans wrote:

Then you don't do it - it's not a requirement... just an optional thing (and ofcourse you can't do the __have_prop() thing then that you suggested below.
Why not? _have_prop() should be able to return true if the class does handle one of those 1000 properties. They don't need to be declared.
Works for me, but it needs to be able to called statically (::) and dynamically (->).
Shouldn't be a problem, should it? -Andrei

Thread (56 messages)

« previous php.internals (#17614) next »