Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3519 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83753 invoked from network); 20 Jul 2003 17:19:50 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 20 Jul 2003 17:19:50 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h6KHJhn4027528; Sun, 20 Jul 2003 19:19:48 +0200 Date: Sun, 20 Jul 2003 19:19:43 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: Masoud cc: internals@lists.php.net In-Reply-To: <20030720171448.79700.qmail@pb1.pair.com> Message-ID: References: <20030720155214.18238.qmail@pb1.pair.com> <20030720163649.50501.qmail@pb1.pair.com> <20030720171448.79700.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: Property setter and getter in PHP5 From: derick@php.net (Derick Rethans) 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/ -------------------------------------------------------------------------