Re: Re: Property setter and getter in PHP5
| From: | Derick Rethans | Date: | Sun, 20 Jul 2003 17:19:43 +0000 |
| Subject: | Re: Re: Property setter and getter in PHP5 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3519@lists.php.net to get a copy of this message | ||
Hi,
On Sun, 20 Jul 2003, Masoud wrote:
> I knew __get and __set available, but i want to told C# like syntax is a
> nice and clear syntax if available in php5 ,
> so we dont need to check property name and then set value .
You can use C# for that ;) No really, I think the PHP 5 syntax is okay
here, PHP is just not C#.
regards,
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------