Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68468 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95022 invoked from network); 9 Aug 2013 17:16:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2013 17:16:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.177 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.177 mail-wi0-f177.google.com Received: from [209.85.212.177] ([209.85.212.177:52426] helo=mail-wi0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/72-06453-4F325025 for ; Fri, 09 Aug 2013 13:16:37 -0400 Received: by mail-wi0-f177.google.com with SMTP id hq12so1862547wib.10 for ; Fri, 09 Aug 2013 10:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+0P+kdTikSEtE85TnWyqDHhn/YXUXoHW8vDnNP6nzPE=; b=VRK8ZfsXoy3jTgOi4zkhVQWVMcYuWe/MAHwvShJ5/qSLW8+pZV7sSQ53/pid0CNRaw gh9sEWYeoADyViMe8D0SKnzRP42TS7zxFvP0ZV0vXaDD/zICA9VxEsCoDgU3AGzLsIRC R+5MdGPfH//drVVB3PcxScdXnsKm4XGiuV9qezYk1n58uZJpu7rLWXwzIfsAvYp2vsTC /dt5Qou6z3B3MVC9ztqCOmXMZULvxeO/GLUetsQWaxsmSb6y34GdrRQxP9OzFLGPskTs VTYbMn+pLecjI0we+bnnUiDfCaRa24/BKxcNM0lO9aryzFk+cumxekcC7+d8kJn2h2kS jW9A== MIME-Version: 1.0 X-Received: by 10.180.198.79 with SMTP id ja15mr827973wic.36.1376068594480; Fri, 09 Aug 2013 10:16:34 -0700 (PDT) Received: by 10.216.182.193 with HTTP; Fri, 9 Aug 2013 10:16:34 -0700 (PDT) Received: by 10.216.182.193 with HTTP; Fri, 9 Aug 2013 10:16:34 -0700 (PDT) In-Reply-To: References: <60BF8DD5-FEEA-47D9-834F-6C7FDEF3B879@wiedler.ch> <6644FE5E-4CBA-4A08-8766-8634CAA4426D@wiedler.ch> Date: Fri, 9 Aug 2013 18:16:34 +0100 Message-ID: To: Daniel Bingham Cc: internals@lists.php.net, Igor Wiedler , Michael Wallner Content-Type: multipart/alternative; boundary=047d7b624252c2ba2d04e386efd6 Subject: Re: [PHP-DEV] Re: [RFC] Importing namespaced functions From: leight@gmail.com (Leigh) --047d7b624252c2ba2d04e386efd6 Content-Type: text/plain; charset=ISO-8859-1 On Aug 8, 2013 9:31 PM, "Daniel Bingham" wrote: > > Hey Igor, > > I love the RFC, but how about: > > use bar\baz() as baz; > > As an alternative to "use function". Still new syntax, but a little less > wordy. The parenthesis add the feeling that it should be evaluated imho, I.e. the result of that function should be used as baz. That could possibly lead to confusion. I know you're suggesting as an additional syntax not alternative, but I don't get good vibes from it. Also might not even be possible due to how the parser handles parenthesis, but I'd have to look over the parser grammar to be sure. But another +1 from me on the RFC as a whole. Now its there I can't believe it took so long. --047d7b624252c2ba2d04e386efd6--