Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63393 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67927 invoked from network); 13 Oct 2012 11:52:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2012 11:52:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zerocue.com designates 74.115.204.53 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 74.115.204.53 relay-hub203.domainlocalhost.com Received: from [74.115.204.53] ([74.115.204.53:55010] helo=relay-hub203.domainlocalhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/9B-06472-6F559705 for ; Sat, 13 Oct 2012 07:52:24 -0400 Received: from MBX202.domain.local ([169.254.169.44]) by HUB203.domain.local ([192.168.68.47]) with mapi id 14.02.0283.003; Sat, 13 Oct 2012 07:51:33 -0400 To: Amaury Bouchard , Nikita Popov CC: Benjamin Eberlei , "internals@lists.php.net" Thread-Topic: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 Thread-Index: Ac2oOZ3+vAOzWRcnRpOb6a/hOVK5+ABAY8yAAALpNQAAAUOoAAAEr8Ew Date: Sat, 13 Oct 2012 11:51:32 +0000 Message-ID: <9570D903A3BECE4092E924C2985CE485612B59F6@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B53E4@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.26] Content-Type: multipart/alternative; boundary="_000_9570D903A3BECE4092E924C2985CE485612B59F6MBX202domainloc_" MIME-Version: 1.0 Subject: RE: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 From: cpriest@zerocue.com (Clint Priest) --_000_9570D903A3BECE4092E924C2985CE485612B59F6MBX202domainloc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Interfaces are used to define what methods must be present, properties are = not allowed. From: amaury.bouchard@gmail.com [mailto:amaury.bouchard@gmail.com] On Behal= f Of Amaury Bouchard Sent: Saturday, October 13, 2012 5:06 AM To: Nikita Popov Cc: Benjamin Eberlei; Clint Priest; internals@lists.php.net Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 2012/10/13 Nikita Popov > interface Foo { // this is okay public $abc { get; set; } // this is invalid public $abc; } Sorry, I missed something. Why the first should be correct but not the seco= nd one? For me it's exactly the same thing. --_000_9570D903A3BECE4092E924C2985CE485612B59F6MBX202domainloc_--