Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56730 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51636 invoked from network); 2 Dec 2011 18:06:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2011 18:06:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=irker@irker.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=irker@irker.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain irker.net from 74.125.83.42 cause and error) X-PHP-List-Original-Sender: irker@irker.net X-Host-Fingerprint: 74.125.83.42 mail-ee0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:48936] helo=mail-ee0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/95-16911-BB319DE4 for ; Fri, 02 Dec 2011 13:06:52 -0500 Received: by eekb47 with SMTP id b47so1873433eek.29 for ; Fri, 02 Dec 2011 10:06:48 -0800 (PST) Received: by 10.14.4.32 with SMTP id 32mr1380255eei.50.1322849208392; Fri, 02 Dec 2011 10:06:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.106.16 with HTTP; Fri, 2 Dec 2011 10:06:26 -0800 (PST) In-Reply-To: References: <4ED6713D.2050009@ralphschindler.com> <4ED67DCB.5090102@ralphschindler.com> <4ED68940.3050502@ralphschindler.com> <90D867E2-E6FB-481D-B57C-911E5FE6A418@gmail.com> <4ED7BAC2.20805@ralphschindler.com> <9B.03.16911.EB109DE4@pb1.pair.com> Date: Fri, 2 Dec 2011 22:06:26 +0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016364c774d28602a04b31fd5e6 Subject: Re: [PHP-DEV] 5.4's New De-referencing plus assignment From: irker@irker.net (=?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCc0L7RgdC60LDQu9GR0LI=?=) --0016364c774d28602a04b31fd5e6 Content-Type: text/plain; charset=UTF-8 ($new ? new insert() : new update())->from()->where()->exec(); (same for array and callable expr) And yes, we can write it by many different ways... And yes it's not more readable than other ways.... BUT. As I wrote before many times - if we can add this without bc and php slowdown, user can use it or not as he chose. With regards, Alexander Moskaliov Irker@irker.net ///// joke init call ($pingFunc = function ($pingFunc) { pingServer('this is crazy joke function'); setLibeventTimer(10, $pingFunc); } ) ($pingFunc); > --0016364c774d28602a04b31fd5e6--