Re: Property Overloading RFC

From: Date: Thu, 25 Aug 2005 18:47:24 +0000
Subject: Re: Property Overloading RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-18438@lists.php.net to get a copy of this message
Hello Derick, Thursday, August 25, 2005, 2:01:56 PM, you wrote: > On Tue, 2 Aug 2005, Derick Rethans wrote: >> we're finding some problems with property overloading (__get() and >> __set()). Here is an RFC describing what we'd like to see changed. >> Please comment on this. > I updated the proposal: > http://files.derickrethans.nl/property_overloading.html > If nobody as any better idea on how to solve it I'd like to start > implementing it. Instead of "__have_prop" can you make that "__has_prop" or "__exists" or "__declared". "have" simply seems wrong thus (2). However that uses two words which i don't like and so i cam to (3) and (4). Version (3) is better than (4) because ArrayAccess also uses "exists". Best regards, Marcus

« previous php.internals (#18438) next »