Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66597 invoked from network); 24 Aug 2012 23:00:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2012 23:00:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.153 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.153 smtp153.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.153] ([67.192.241.153:39667] helo=smtp153.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/B7-24287-49708305 for ; Fri, 24 Aug 2012 19:00:37 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp5.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id CDD1658857; Fri, 24 Aug 2012 19:00:33 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp5.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 8B12D5872F; Fri, 24 Aug 2012 19:00:33 -0400 (EDT) Message-ID: <50380790.5040304@sugarcrm.com> Date: Fri, 24 Aug 2012 16:00:32 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Sebastian Krebs CC: PHP internals list References: <502EBAA4.9090007@gmail.com> <5037EBB6.7040702@gmail.com> In-Reply-To: <5037EBB6.7040702@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Combined assignment operator for short ternary From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > To point that out: I _don't_ want to change the behaviour, which means > > | $foo['xy'] ?:= 'bar'; > > would trigger a notice like > > | $foo['xy'] = $foo['xy'] ?: 'bar'; Then I personally don't see much point in it. Saving a couple of keystrokes IMHO is not really worth it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227