Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53511 invoked from network); 29 Apr 2008 10:28:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Apr 2008 10:28:50 -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:18089] helo=ams-iport-1.cisco.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/10-04029-F58F6184 for ; Tue, 29 Apr 2008 06:28:49 -0400 X-IronPort-AV: E=Sophos;i="4.25,722,1199660400"; d="scan'208";a="7603661" Received: from ams-dkim-2.cisco.com ([144.254.224.139]) by ams-iport-1.cisco.com with ESMTP; 29 Apr 2008 12:28:44 +0200 Received: from ams-core-1.cisco.com (ams-core-1.cisco.com [144.254.224.150]) by ams-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id m3TASio7016115 for ; Tue, 29 Apr 2008 12:28:44 +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 m3TASigA027012 for ; Tue, 29 Apr 2008 10:28:44 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 12:28:43 +0200 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 12:28:14 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: [PHP-DEV] Class Properties in Interfaces? Thread-Index: Acip4jX4CyJBWUXlR9yPemu9dsQzqQAANLpA References: <48169695.9040803@omegavortex.net> <339714303.20080429114607@marcus-boerger.de> To: X-OriginalArrivalTime: 29 Apr 2008 10:28:43.0885 (UTC) FILETIME=[CCCF09D0:01C8A9E3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1114; t=1209464924; x=1210328924; c=relaxed/simple; s=amsdkim2001; 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=20Re=3A=20[PHP-DEV]=20Class=20Properti es=20in=20Interfaces? |Sender:=20; bh=hEXve1uEDabnALWaFBJoBBsK4FYic8dcElsFGYeYmmw=; b=j6rgriyQ5yRA78SnvIK6zU18WatEP4Bgv74ulY7s2/GlDmIkHMWpD0RkRO 8oixR+ZfmuxZtLz+wD3+wVQqx9Yy9tmRw1v2n0/XAAja4n6xBtworSIYAxbd /2rHu/Gy+r; Authentication-Results: ams-dkim-2; header.From=johncart@cisco.com; dkim=pass ( sig from cisco.com/amsdkim2001 verified; ); Subject: RE: Re: [PHP-DEV] Class Properties in Interfaces? From: johncart@cisco.com ("John Carter -X (johncart - PolicyApp Ltd at Cisco)") =20 I think I must be missing something here, but this sounds a little tautological - "we can't do it because it doesn't make sense. This is because it doesn't make sense" Certainly most people (myself included) consider interfaces to be methods only, but I can't find a reason why not, and a search-on-wikipedia-instead-of-doing-proper-research appears to allow it: http://en.wikipedia.org/wiki/Interface_%28computer_science%29 John. -----Original Message----- From: news [mailto:news@ger.gmane.org] On Behalf Of Sebastian Bergmann Sent: 29 April 2008 11:16 To: internals@lists.php.net Subject: Re: [PHP-DEV] Class Properties in Interfaces? John Carter -X (johncart - PolicyApp Ltd at Cisco) schrieb: > could you explain why Interfaces can't have properties Because interfaces are implemented which makes no sense for attributes. --=20 Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php