Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35630 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89016 invoked by uid 1010); 20 Feb 2008 00:06:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89000 invoked from network); 20 Feb 2008 00:06:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 00:06:49 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:43491] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/F1-55225-3FC6BB74 for ; Tue, 19 Feb 2008 18:57:40 -0500 Received: from [192.168.0.8] (xdsl-87-78-210-149.netcologne.de [::ffff:87.78.210.149]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Wed, 20 Feb 2008 00:57:36 +0100 id 0000000000020009.0000000047BB6CF0.000008B4 To: Stanislav Malyshev Cc: php@stefan-marr.de, internals@lists.php.net In-Reply-To: <47BB5EFE.4080704@zend.com> References: <001c01c87264$3c01b4e0$b4051ea0$@de> <1203461114.24580.45.camel@localhost> <47BB5EFE.4080704@zend.com> Date: Wed, 20 Feb 2008 00:57:36 +0100 Message-ID: <1203465456.3529.3.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-2228-1203465457-0001-2" X-Mailer: Evolution 2.21.91 Subject: Re: [PHP-DEV] RFC: Traits for PHP From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-2228-1203465457-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Stas, Am Dienstag, den 19.02.2008, 14:58 -0800 schrieb Stanislav Malyshev: [...] > Renaming poses problem not only with interfaces. Imagine trait having=20 > these methods: >=20 > function add($key, $value) { ... } > function delete($key) { ... } > function replace($key, $value) { $this->delete($key); $this->add($key,=20 > $value); } >=20 > What happens if add() is renamed or replaced with function from other=20 > trait/interface or dropped? As the $this is resolved after flattening, the delete()-method of the current class is used, isn't it? cu, Lars --=_milch.schokokeks.org-2228-1203465457-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJHu2zqAAoJECQPF+sCY6wHtAUP/jWAiFG7eFRiNHTkycpl4Hu7 Bf1AOFzQIFiLbLwqD/y9o8vztD4ip6I86LiIiJrxQvyuPoVRTXuHPRKZuEQG6WOM F++E5b0wcJAUJrgTN741OG9LqYeqXZloifMoRUE5j/RNI+HwXqSpcS91F/Fvwi/B ComP+H+N/NZwlSBHbvslhqNv8PxyuN5q0YtvaWxNRIhO6YN9h7scgc3PTN+JbgMb luflGyXOPwMv0ixjdQzqJRIaPQonbYgzuHL0kkL1RnovkFxBw2O21Gs05rp66+F+ txT3ZGepiaaJ6PAzIwJa+0G1I5R2ufp90HJQ/uHUdg6bkop9JV0wfhKeshhoHpv3 4/Ld3yACaxVlAPj2b6Vc9II5n0g1N+rNYHCCUNQGegcUi+o04fHMl422xA6FZqpU mM6HYLhMdsbmx7ZWfOJuI+SE7nsGg2ObowMwawPfZccOOmgvEBQnsjEMX8N1649f U78q7SD0Hn6VeiFZ+50/NOyPaufKnsutAqNw+WuHjqB/auOXDehRCTLlqZU/Gkzx SNsrhbxE90BSmPMHi86C9GHRGAE53ImG2KriZ3XMNcEG3JchdfBkqzN33wAsaqKm +ZYcXXNen5jS6o+s8UGtBp/1tfO5SC9q4k2NviJdmTFq276zUUu9bbK5+tO2X0yh 2efrI3uSTHeAflKqV5ox =TnDl -----END PGP SIGNATURE----- --=_milch.schokokeks.org-2228-1203465457-0001-2--