Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66870 invoked from network); 16 Oct 2012 04:20:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2012 04:20:59 -0000 Authentication-Results: pb1.pair.com header.from=davidkmuir@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=davidkmuir@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.42 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.210.42 mail-da0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:47542] helo=mail-da0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/A8-07213-AA0EC705 for ; Tue, 16 Oct 2012 00:20:59 -0400 Received: by mail-da0-f42.google.com with SMTP id z17so2989164dal.29 for ; Mon, 15 Oct 2012 21:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=YWKVNl1Egk7d3vnkEYH9W5dUcvv1MjhKsVxaddygjzs=; b=mg2vq+gUgntvpqLX21fpzgzZ4/aReDfgQREfHVNhOINFdPgRS/03Htw8mSOXCIadM/ ZOmxYlziLVlIC6sqjBLR+QqSpbW1e3OEMSQn2YLlV8dYfgD3KL2iVSVXe+pZQqiLmKTX PVRyovPDPO8AWSfYcBOqL1NUcztS1mQsyIuQbDbqIvcknDZqhYaOV3F5AUGbo3tugr7s o1K2P5sfgZeTkABcPRbAPWCUxpKdTY8l0KbRTU3Yzz36RlMFGqgbdYwtyCVq1VwC+MdZ TMKLNBm1vQahL5vafrue1odUf6mr5M8VNEgQ2nnC97WNIWRSmEmvSxItP+r3ZXYcSPR3 Jt7A== Received: by 10.68.216.2 with SMTP id om2mr42610888pbc.88.1350361255532; Mon, 15 Oct 2012 21:20:55 -0700 (PDT) Received: from [192.168.1.181] (tmwpho1.lnk.telstra.net. [110.142.207.74]) by mx.google.com with ESMTPS id w4sm10143846paz.38.2012.10.15.21.20.51 (version=SSLv3 cipher=OTHER); Mon, 15 Oct 2012 21:20:55 -0700 (PDT) Message-ID: <507CE09F.1030301@gmail.com> Date: Tue, 16 Oct 2012 15:20:47 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Jazzer Dane CC: Clint Priest , Etienne Kneuss , Levi Morrison , "internals@lists.php.net" References: <9570D903A3BECE4092E924C2985CE485612B6466@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE485612B655A@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE485612B6654@MBX202.domain.local> <56FF073D-826C-444F-8843-9739E568919E@zerocue.com> <9570D903A3BECE4092E924C2985CE485612B69D2@MBX202.domain.local> <507CD7ED.3000301@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 : Interfaces From: davidkmuir@gmail.com (David Muir) On 16/10/12 14:55, Jazzer Dane wrote: > I'm going to agree with David here. It is most sensible to either > allow properties AND accessors in interfaces, or don't allow either of > them. __get/__set is a different subject that I'd rather not dig into > while discussing this RFC. I tossed in the __get/__set because they satisfy the interface. The problem with them it is that they would satisfy the interface at runtime rather than compile time, and thus would be unsafe to use. Kind of defeats the point of an interface... ;-) Cheers, David