Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35684 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88907 invoked by uid 1010); 21 Feb 2008 12:03:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88892 invoked from network); 21 Feb 2008 12:03:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2008 12:03:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.82.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.82.226 wx-out-0506.google.com Received: from [66.249.82.226] ([66.249.82.226:19768] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/10-21621-F886DB74 for ; Thu, 21 Feb 2008 07:03:29 -0500 Received: by wx-out-0506.google.com with SMTP id s14so5117wxc.26 for ; Thu, 21 Feb 2008 04:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=qO4/jfREvte0z4ktXErXlw4n0frL4LQTo4/b8EnEduU=; b=C1obJaLbMaIasIbZH7+xEtUUOvvbWcKR6gTnFji4RrHqvmxG2Oe7aSQrl1HWRo3X0XIaU7XuyIRmt92IzWnJNZzrUR6EJSbQRy27wfSW5h6zFZiCqkKFPFgMR7IffONDjqX0VCtmXsQ6UKzvVeWOxbU5YK0o7nbRhvGCDW7WCEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eVjTHNxJAQGg+Oa3za2vP4NwUeuJnFrVCPdaLsT3VA/uAhbXPMbpuYQrNHWk6czOWBpkRkaNX3avtNBd9NfTCy6j4PT0rdQ7yD3nrrGj1FlIubDnAp3fwdRt2icTKeWRlG7rZKTQTfgXwnkpY6T3hJLvf+YLNpf1Ou9x5ep/5xc= Received: by 10.114.89.1 with SMTP id m1mr7474427wab.77.1203595404356; Thu, 21 Feb 2008 04:03:24 -0800 (PST) Received: by 10.114.209.15 with HTTP; Thu, 21 Feb 2008 04:03:24 -0800 (PST) Message-ID: <10845a340802210403x348d96adob36c222a7a4f364f@mail.gmail.com> Date: Thu, 21 Feb 2008 12:03:24 +0000 Reply-To: RQuadling@GoogleMail.com To: php@stefan-marr.de Cc: "Marcus Boerger" , Evert|Rooftop , "Stanislav Malyshev" , internals@lists.php.net In-Reply-To: <1e12984d0802201243gfa51f01i311891e8965ed51e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001c01c87264$3c01b4e0$b4051ea0$@de> <173732199.20080219175837@marcus-boerger.de> <1203452909.24580.9.camel@localhost> <1e12984d0802191323o710c6b8ej3a54af7901cf35f1@mail.gmail.com> <47BB4AC9.9070701@zend.com> <1e12984d0802191346x7c145d7fp14c01ec4e5993779@mail.gmail.com> <47BB4F49.1030904@rooftopsolutions.nl> <1e12984d0802191359p4f21c3acrdff4b86adfb4bf3@mail.gmail.com> <1495054633.20080220205951@marcus-boerger.de> <1e12984d0802201243gfa51f01i311891e8965ed51e@mail.gmail.com> Subject: Re: [PHP-DEV] RFC: Traits for PHP From: rquadling@googlemail.com ("Richard Quadling") On 20/02/2008, Stefan Marr wrote: > > If we feel it gets necessary we probbaly > > might want to support a syntax like: > > 'trait_method' => false > > 'trait_method' => 'new_name' > > 'trait_method' => array('new_name', 'trait_method' > > I'm not comfortable with this notation, since it strengthens the > impression that it is renaming. > > In my eyes it looks like this: > > "trait_method => false" means trait_method is moved to false, it is > deleted, but this leads to the wrong impression of this: > "trait_method => new_name" means trait_method is moved to new_name, > and I am absolutely against this notion. > > Kind Regards > Stefan What would you all read this to be ... void := 'trait_method' 'new_name' := 'trait_method' array('new_name', 'trait_method') := 'trait_method' := is "becomes equal". -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"