Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35590 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45599 invoked by uid 1010); 19 Feb 2008 12:19:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45584 invoked from network); 19 Feb 2008 12:19:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2008 12:19:56 -0000 Authentication-Results: pb1.pair.com header.from=troelskn@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=troelskn@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: troelskn@gmail.com X-Host-Fingerprint: 209.85.198.191 rv-out-0910.google.com Received: from [209.85.198.191] ([209.85.198.191:11426] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/7C-55225-B69CAB74 for ; Tue, 19 Feb 2008 07:19:56 -0500 Received: by rv-out-0910.google.com with SMTP id k15so2085259rvb.23 for ; Tue, 19 Feb 2008 04:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=a56vnJEIErVF6HwR2VP4nWhMvb8zhIHc7/3RaTkeGsU=; b=JfvvoYuFSHPERcWPtakhCctKjrEB1xKRLZT/hFIIgkZhK/Q8NCaoCsOlEgF1m7fRB0+X2Md1qs+nFEkBktg85ttnLBV4Mcgst+dRDlMSN6Bf3tYDWsYXiY6sElB4LU6y+QXVhKB2rnmjz21nYOdbxOLsH4qU4kwlKIuH1gPMJUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FmHV3nblQ2RobDZCLmtb6ogCo4xoPmyqUfpLqAwIpagptFdJ1mewIdqwl7UDvNtbxQY2cXS9wfrjfLV5zcObVMGZJvSJ18JVresMlWrqjN2kg7lfKycYtnMN0hYBmu8BX0csgKWBwAPIwP+qNGk8wC2Ed7NDyQAbYKKkHwL2ixQ= Received: by 10.141.23.7 with SMTP id a7mr4647940rvj.58.1203423589793; Tue, 19 Feb 2008 04:19:49 -0800 (PST) Received: by 10.141.178.10 with HTTP; Tue, 19 Feb 2008 04:19:49 -0800 (PST) Message-ID: <98b8086f0802190419g589a4c8dtbbac871f5a473b23@mail.gmail.com> Date: Tue, 19 Feb 2008 13:19:49 +0100 To: internals@lists.php.net Cc: php@stefan-marr.de In-Reply-To: <001c01c87264$3c01b4e0$b4051ea0$@de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001c01c87264$3c01b4e0$b4051ea0$@de> Subject: Re: [PHP-DEV] RFC: Traits for PHP From: troelskn@gmail.com ("troels knak-nielsen") On Feb 18, 2008 8:27 PM, wrote: > Hi, > > during last six months I've studied a language construct called Traits. > It is a construct to allow fine-grained code reuse and in my opinon > this would be a nice feature for PHP, which I did like to propose here. > The following RFC deals with the questions what Traits are, how they are > used, why they are usefull and how they do look like in PHP. > A patch implementing this new language construct is available, too. > > Thank you for your attention and I'm looking forward to hear your comments > :) > > Kind Regards > Stefan I know this is in the bike-shed department, but the following syntax doesn't look very PHP to me: use B { !bigTalk, talk => bigTalk } Could we separate exclusions from aliases somehow? -- troels