Re: Property Overloading RFC

From: Date: Thu, 25 Aug 2005 17:25:07 +0000
Subject: Re: Property Overloading RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-18435@lists.php.net to get a copy of this message
On Aug 25, 2005, at 8:01 AM, Derick Rethans wrote:

On Tue, 2 Aug 2005, Derick Rethans wrote:
#1) It seems to me that after declaring the property with the property keyword, the property isn't so virtual anymore. #2) I think this is a good idea, but aren't double underline methods reserved for those called by PHP itself. The example shows the user calling __have_prop(). Under what circumstances would php call __have_prop()? #3) I would rather see an exception based mechanism for this, but I'll concede that as unlikely, so i'll just suggest using the standard PHP boolean values. The proposal implies TRUE & NULL would be the same, which seems inconsistent.

Thread (56 messages)

« previous php.internals (#18435) next »