Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57209 invoked from network); 8 Aug 2013 18:43:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2013 18:43:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=igor@wiedler.ch; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=igor@wiedler.ch; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wiedler.ch from 217.26.49.173 cause and error) X-PHP-List-Original-Sender: igor@wiedler.ch X-Host-Fingerprint: 217.26.49.173 mxout013.mail.hostpoint.ch Received: from [217.26.49.173] ([217.26.49.173:44223] helo=mxout013.mail.hostpoint.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/0D-06453-BE6E3025 for ; Thu, 08 Aug 2013 14:43:56 -0400 Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout013.mail.hostpoint.ch with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V7VBg-000I72-S8; Thu, 08 Aug 2013 20:43:52 +0200 Received: from [84.73.218.139] (helo=[10.0.1.98]) by asmtp013.mail.hostpoint.ch with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V7VBg-000Bx6-Pj; Thu, 08 Aug 2013 20:43:52 +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: <008201ce9463$8fa71cd0$aef55670$@tutteli.ch> Date: Thu, 8 Aug 2013 20:43:38 +0200 Cc: Content-Transfer-Encoding: quoted-printable Message-ID: <745F0F11-E25B-4A48-BF0B-A070B18C2D83@wiedler.ch> References: <60BF8DD5-FEEA-47D9-834F-6C7FDEF3B879@wiedler.ch> <6644FE5E-4CBA-4A08-8766-8634CAA4426D@wiedler.ch> <008201ce9463$8fa71cd0$aef55670$@tutteli.ch> To: "Robert Stoll" X-Mailer: Apple Mail (2.1508) Subject: Re: [PHP-DEV] Re: [RFC] Importing namespaced functions From: igor@wiedler.ch (Igor Wiedler) Yes, aliases are supported just as you would expect. I will add an = example to the RFC. Thanks, Igor On Aug 8, 2013, at 8:17 PM, "Robert Stoll" wrote: > Hi Igor, >=20 > Personally I like your RFC. I also like the fact that it is possible = to > "replace" built-in functions where desired by declaring a = corresponding use > statement. > I do not see aliases in your RFC but I guess it would also be possible = to > write things like: use function foo\bar as foo; >=20 > cheers, > Robert