Re: prototypes for getters and setters.

From: Date: Wed, 13 Nov 2002 13:57:22 +0000
Subject: Re: prototypes for getters and setters.
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-90966@lists.php.net to get a copy of this message
On Wed, 13 Nov 2002, John Coggeshall wrote: > > I understand what your saying, however I guess I see the tradeoff of > creating a new reserved word to a (IMHO of course) kinda messy new > syntax a good one. > > Besides, having an absolute standard for get/set would be benefital to > all developers.. Knowing that setting $foo is always setfoo() (or > set_foo(), makes no difference) would be nice. We do have an absolute standard: __get() and __set(). -Andrei http://www.gravitonic.com/ * I wish life had an UNDO function. *

« previous php.dev (#90966) next »