Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68525 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10337 invoked from network); 15 Aug 2013 13:07:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2013 13:07:07 -0000 Authentication-Results: pb1.pair.com header.from=igor@wiedler.ch; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=igor@wiedler.ch; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wiedler.ch from 217.26.49.172 cause and error) X-PHP-List-Original-Sender: igor@wiedler.ch X-Host-Fingerprint: 217.26.49.172 mxout012.mail.hostpoint.ch Received: from [217.26.49.172] ([217.26.49.172:54346] helo=mxout012.mail.hostpoint.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/D0-06453-A72DC025 for ; Thu, 15 Aug 2013 09:07:07 -0400 Received: from [10.0.2.45] (helo=asmtp012.mail.hostpoint.ch) by mxout012.mail.hostpoint.ch with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V9xGX-000Fr1-UH; Thu, 15 Aug 2013 15:07:01 +0200 Received: from [84.73.218.139] (helo=[10.0.1.97]) by asmtp012.mail.hostpoint.ch with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V9xGX-000Jq3-SB; Thu, 15 Aug 2013 15:07:01 +0200 X-Authenticated-Sender-Id: igor@wiedler.ch Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) In-Reply-To: Date: Thu, 15 Aug 2013 15:06:50 +0200 Cc: Michael Wallner , "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: References: <60BF8DD5-FEEA-47D9-834F-6C7FDEF3B879@wiedler.ch> <6644FE5E-4CBA-4A08-8766-8634CAA4426D@wiedler.ch> To: Daniel Bingham X-Mailer: Apple Mail (2.1508) Subject: Re: [PHP-DEV] [RFC] Importing namespaced functions From: igor@wiedler.ch (Igor Wiedler) Hi Daniel, Thanks for the suggestion. Since it is less straight-forward I would = rather just move forward with the current syntax. I'd hate to see the = proposal rejected because people did not like the syntax. Regards, Igor On Aug 8, 2013, at 10:30 PM, Daniel Bingham = wrote: > Hey Igor, >=20 > I love the RFC, but how about: >=20 > use bar\baz() as baz; >=20 > 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. >=20 > Just an idea for pondering! >=20 > Dan >=20 >=20 >=20 > 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 > > >=20 > I like it. It improves the state for non-OOP in PHP. >=20 > -- > Regards, > Mike >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >=20