Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4899 invoked from network); 6 Dec 2011 14:14:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2011 14:14:27 -0000 Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zerocue.com designates 74.115.204.51 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 74.115.204.51 relay-hub201.domainlocalhost.com Received: from [74.115.204.51] ([74.115.204.51:33433] helo=relay-hub201.domainlocalhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/81-30975-0432EDE4 for ; Tue, 06 Dec 2011 09:14:26 -0500 Received: from MBX202.domain.local ([169.254.2.249]) by HUB201.domain.local ([74.115.204.51]) with mapi id 14.01.0289.001; Tue, 6 Dec 2011 09:14:21 -0500 To: Pierre Joye CC: Rasmus Schultz , "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: Patch: getters/setters syntax Implementation Thread-Index: AQHMs6YR/e0RMhrEek+dmbZ3mDNhgZXOJKmAgADhRgD//9Um0A== Date: Tue, 6 Dec 2011 14:14:21 +0000 Message-ID: <9570D903A3BECE4092E924C2985CE4853994D42F@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE4853994C39F@MBX202.domain.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.64.21] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Re: Patch: getters/setters syntax Implementation From: cpriest@zerocue.com (Clint M Priest) I prefer C# syntax myself but thinking about it, supporting both syntax's w= ould be fairly trivial to add... Thoughts on that? -----Original Message----- From: Pierre Joye [mailto:pierre.php@gmail.com]=20 Sent: Tuesday, December 06, 2011 5:47 AM To: Clint M Priest Cc: Rasmus Schultz; internals@lists.php.net Subject: Re: [PHP-DEV] Re: Patch: getters/setters syntax Implementation On Tue, Dec 6, 2011 at 4:23 AM, Clint M Priest wrote: > I believe the attempt with the RFC was to mimic the syntax that C#=20 > went with, the RFC is here:=20 > https://wiki.php.net/rfc/propertygetsetsyntax C# like setter/getter is definitely what I would like to have in PHP, it is= a very clear and known syntax, while being features rich. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org