Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38901 invoked from network); 1 Jul 2012 11:38:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2012 11:38:14 -0000 Authentication-Results: pb1.pair.com header.from=amaury.bouchard@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=amaury.bouchard@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: amaury.bouchard@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:49576] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/20-36917-5A630FF4 for ; Sun, 01 Jul 2012 07:38:13 -0400 Received: by obfk16 with SMTP id k16so7923694obf.29 for ; Sun, 01 Jul 2012 04:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=Ymt7uWShDVXQXIwuamIX3maIh68mHY5TgoXKOejP5A8=; b=nIhZH35PmXEhs7MiMF5PDMmPqd/RAEGjbQzG/XJ66WJ7tz858oF7MS/JbvijrFwFtV WVI198iHTopOcwmjlkRJ/h4w0DxSS+sceGRF4yt39rdUHyJNQHS/1xSQjKNrXVkBaTk1 9PL1+NL7LgQqBDnDRAljXb/I6TUdwTbu5F2o1o5upl0oVI688hFsgUxoLUp6KAAl1im7 r6SQatZcpt4Tl/iV9d6xOueIEhFwM6IpzG6qWDM1A5oOOdLYsNjHIoybroP1AWMjvZpx lxKcvET3mLtp/k2HcpEKrHO41w3PURJ2wmAeU1JAtN1v+eTRkRanDwEe3425uQR+GdjF 5ASA== Received: by 10.182.231.6 with SMTP id tc6mr3746826obc.63.1341142690901; Sun, 01 Jul 2012 04:38:10 -0700 (PDT) MIME-Version: 1.0 Sender: amaury.bouchard@gmail.com Received: by 10.182.60.131 with HTTP; Sun, 1 Jul 2012 04:37:50 -0700 (PDT) In-Reply-To: References: Date: Sun, 1 Jul 2012 13:37:50 +0200 X-Google-Sender-Auth: PCfsH6Zu3_L3cdOKhnWq9ce_cB0 Message-ID: To: Michael Morris Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0446312caf2d2a04c3c31d1d Subject: Re: [PHP-DEV] RFC proposal - Syntactic sugar for cloning From: amaury@amaury.net (Amaury Bouchard) --f46d0446312caf2d2a04c3c31d1d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable @Michael : I'm not sure to understand what you mean. The "&=3D" operator does a bitwise AND. But if it was an assignment-by-reference operator, maybe an assignment-by-cloning operator would have seemed a good idea? Some people write code using "=3D&" like a dedicated operator. For example: $i =3D 3; $j =3D& $i; (yes, I know they should write "$j =3D &$i;") It would be an "inverted equivalent" if we were able to write : $i =3D new Int(3); $j :=3D $i; 2012/6/30 Michael Morris > Uhm... &=3D > > On Fri, Jun 29, 2012 at 6:09 PM, Paul Dragoonis > wrote: > > My input is that we should be focusing on features that PHP lacks, or > > fixing bugs rather than adding more sugar syntax just for the sake of > > adding it. > > > > On Fri, Jun 29, 2012 at 7:47 PM, Pierrick Charron >wrote: > > > >> No problem when you'll come in Montreal ! If you need any help don't > >> hesitate. > >> > >> Pierrick > >> > >> On 29 June 2012 14:27, Amaury Bouchard wrote: > >> > >> > Yes, guys. I totally understand your point. As I said, I had this > idea in > >> > a dreamed context (good or bad dream? I don't know). > >> > But still, I think it's intellectually interesting, even if it's not= a > >> > good concept for PHP. :-) > >> > > >> > Pierrick, I owe you a beer ;-) > >> > Le 29 juin 2012 19:06, "Pierrick Charron" a > >> =E9crit : > >> > > >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d0446312caf2d2a04c3c31d1d--