Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81022 invoked from network); 9 Jun 2010 16:00:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2010 16:00:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 188.40.37.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 188.40.37.16 hq1.backendmedia.com Linux 2.6 Received: from [188.40.37.16] ([188.40.37.16:53560] helo=hq1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/D6-41739-69ABF0C4 for ; Wed, 09 Jun 2010 12:00:22 -0400 Received: from localhost (unknown [127.0.0.1]) by hq1.backendmedia.com (Postfix) with ESMTP id 5472C2E3001D; Wed, 9 Jun 2010 16:00:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from hq1.backendmedia.com ([127.0.0.1]) by localhost (hq1.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T328ZvwHldo0; Wed, 9 Jun 2010 18:00:25 +0200 (CEST) Received: from [192.168.1.56] (f053009010.adsl.alicedsl.de [78.53.9.10]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by hq1.backendmedia.com (Postfix) with ESMTPSA id F0A582E3000D; Wed, 9 Jun 2010 18:00:24 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii In-Reply-To: <0A769B4E-C9DA-44F2-B3DA-5998D1D7E6E0@stefan-marr.de> Date: Wed, 9 Jun 2010 18:00:17 +0200 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <0A769B4E-C9DA-44F2-B3DA-5998D1D7E6E0@stefan-marr.de> To: Stefan Marr X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] Traits and static variables From: mls@pooteeweet.org (Lukas Kahwe Smith) On 05.06.2010, at 22:47, Stefan Marr wrote: > Hi: >=20 > Was just thinking about some details of the traits implementation. >=20 > =46rom my perspective, static variables in methods should work like = the method would have been actually implemented in the class using the = traits. Thus, static variables should be independent for the different = traits usages. >=20 > Any thoughts on that? i agree. the mantra is traits are engine level automated copy&paste. regards, Lukas Kahwe Smith mls@pooteeweet.org