Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68455 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75727 invoked from network); 8 Aug 2013 20:30:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2013 20:30:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=daniel.bingham@ellislab.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=daniel.bingham@ellislab.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ellislab.com designates 209.85.212.44 as permitted sender) X-PHP-List-Original-Sender: daniel.bingham@ellislab.com X-Host-Fingerprint: 209.85.212.44 mail-vb0-f44.google.com Received: from [209.85.212.44] ([209.85.212.44:59828] helo=mail-vb0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/90-06453-AFFF3025 for ; Thu, 08 Aug 2013 16:30:51 -0400 Received: by mail-vb0-f44.google.com with SMTP id e13so3570640vbg.31 for ; Thu, 08 Aug 2013 13:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellislab.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GW8FCXhXrtpmLxNfjprFb3B0ptMSugE/Ug3Z97i9vKI=; b=d3PpJ+yuaP6hCKJMLCvFcY+KMj0oYsGUA3h0cQT/tBWrIZbWaZNshIeUJTuEw3nD4a 2Vcr69YtYRfIN8Vv9VtRYFTmNOG0slNHqpTIIqtWfKETU558wHXqIYGrMjRyIq/SioyM GWisEM2jjUEcuTkY+gisqR6ljyKtIq2eIo+II= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GW8FCXhXrtpmLxNfjprFb3B0ptMSugE/Ug3Z97i9vKI=; b=C6PfpJr2NmaJh3orQzVbQU22F5nkNVgdieqZALA3srAge1zHt7t9vLV1gAld8OEL5B WZMCPZJ4M0aKZl6zU2Lj9uxDIezMCK2eb0r24zMIhdOAnErPVvPvABqIyTJoXrzkmch9 mHIib+QfAfgkhtRya4mAUAPEpy6OwIui/KERAmCDO4nQrJX2S6fQiWDrdyHXiwgZxqc8 qjyX/IAnzgzbOQmyrIu6QIbp+EjzVhxDXkiU7boCnSXT8GCL9yYyXm4EdZlEh6VDoIOg gnVYw97xE0BLiqxdVZX26z6LdC9vApNayb3yL+4OAHts35ViwzFKGl8dnVdqvwl0STae hBcw== X-Gm-Message-State: ALoCoQkyBQY39ZGwB54HmPFEqBvNILop8FiNeFhgNROcqEu1RB3GUq/tSVmZL3asxWCnJkJBL0G4 MIME-Version: 1.0 X-Received: by 10.220.50.10 with SMTP id x10mr3157359vcf.86.1375993847495; Thu, 08 Aug 2013 13:30:47 -0700 (PDT) Received: by 10.220.187.66 with HTTP; Thu, 8 Aug 2013 13:30:47 -0700 (PDT) In-Reply-To: References: <60BF8DD5-FEEA-47D9-834F-6C7FDEF3B879@wiedler.ch> <6644FE5E-4CBA-4A08-8766-8634CAA4426D@wiedler.ch> Date: Thu, 8 Aug 2013 16:30:47 -0400 Message-ID: To: Michael Wallner Cc: Igor Wiedler , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b343f307e4c3e04e3758847 Subject: Re: [PHP-DEV] Re: [RFC] Importing namespaced functions From: daniel.bingham@ellislab.com (Daniel Bingham) --047d7b343f307e4c3e04e3758847 Content-Type: text/plain; charset=ISO-8859-1 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. I have nothing for "use const", but "use const" feels more natural to me than "use function" does. Just an idea for pondering! Dan On Thu, Aug 8, 2013 at 2:44 PM, Michael Wallner wrote: > On 8 August 2013 14:29, Igor Wiedler wrote: > > Hi everyone, > > > > I just wanted to bump this topic, since there's not been much feedback > during the last few weeks. Comments on the patch are also welcome. > > > > RFC: https://wiki.php.net/rfc/use_function > > Patch: https://github.com/php/php-src/pull/388 > > > > I like it. It improves the state for non-OOP in PHP. > > -- > Regards, > Mike > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7b343f307e4c3e04e3758847--