Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37313 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58579 invoked from network); 29 Apr 2008 18:05:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Apr 2008 18:05:14 -0000 Authentication-Results: pb1.pair.com header.from=johncart@cisco.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=johncart@cisco.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cisco.com designates 144.254.224.140 as permitted sender) X-PHP-List-Original-Sender: johncart@cisco.com X-Host-Fingerprint: 144.254.224.140 ams-iport-1.cisco.com Received: from [144.254.224.140] ([144.254.224.140:30421] helo=ams-iport-1.cisco.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/9C-26601-95367184 for ; Tue, 29 Apr 2008 14:05:14 -0400 X-IronPort-AV: E=Sophos;i="4.25,723,1199660400"; d="scan'208";a="7651804" Received: from ams-dkim-1.cisco.com ([144.254.224.138]) by ams-iport-1.cisco.com with ESMTP; 29 Apr 2008 20:05:10 +0200 Received: from ams-core-1.cisco.com (ams-core-1.cisco.com [144.254.224.150]) by ams-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m3TI5AC0021839 for ; Tue, 29 Apr 2008 20:05:10 +0200 Received: from xbh-ams-332.emea.cisco.com (xbh-ams-332.cisco.com [144.254.231.87]) by ams-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m3TI5Ae2023671 for ; Tue, 29 Apr 2008 18:05:10 GMT Received: from xmb-ams-33e.emea.cisco.com ([144.254.231.75]) by xbh-ams-332.emea.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 20:05:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Apr 2008 20:04:30 +0200 Message-ID: In-Reply-To: <48175A65.4070301@zend.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Class Properties in Interfaces? Thread-Index: AciqHl5N7iISyNeLSFSeA4KPFQEQSwABEj7g References: <48169695.9040803@omegavortex.net> <339714303.20080429114607@marcus-boerger.de> <27A086AB-E111-49C1-ABBD-28FB6E1677BD@procata.com> <48175A65.4070301@zend.com> To: X-OriginalArrivalTime: 29 Apr 2008 18:05:10.0272 (UTC) FILETIME=[905E1000:01C8AA23] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=473; t=1209492310; x=1210356310; c=relaxed/simple; s=amsdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=johncart@cisco.com; z=From:=20=22John=20Carter=20-X=20(johncart=20-=20PolicyApp= 20Ltd=20at=20Cisco)=22=20 |Subject:=20RE=3A=20[PHP-DEV]=20Class=20Properties=20in=20I nterfaces? |Sender:=20; bh=yK7tLxlF7ukv2w0JkFNeFZaFaiI+lghWPrOnEPfZNHg=; b=NgwPogAMSqHcspI8rGBXm6Ipo+UjWHm8IGKebMEbLTP9deFKZoNnSAnLaJ rm2+0KC0nvPlcMWIEQuLfaviWjYCCtzdYJpfmDVhiO6vnnPEhA2s8458BBbF bftgeNQR4F; Authentication-Results: ams-dkim-1; header.From=johncart@cisco.com; dkim=pass ( sig from cisco.com/amsdkim1002 verified; ); Subject: RE: [PHP-DEV] Class Properties in Interfaces? From: johncart@cisco.com ("John Carter -X (johncart - PolicyApp Ltd at Cisco)") I think there's been two responses to this query: 1. We can't have properties in interfaces because interfaces don't have properties. I would say this is tautological and doesn't add anything. 2. Why would you need to? Getters and setters work. So I suppose to answer my question for myself, there's no real technical reason for not having properties in interfaces, but getters and setters work just fine and no-one (including me) really misses them. John.