Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68527 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13811 invoked from network); 15 Aug 2013 13:20:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2013 13:20:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.178 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.223.178 mail-ie0-f178.google.com Received: from [209.85.223.178] ([209.85.223.178:49859] helo=mail-ie0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/81-06453-E95DC025 for ; Thu, 15 Aug 2013 09:20:30 -0400 Received: by mail-ie0-f178.google.com with SMTP id f4so1124723iea.23 for ; Thu, 15 Aug 2013 06:20:28 -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=cvAcZzfMlzcFmy+hh/U74zYyCh5bROt6SbPgNhVgRvM=; b=yDX6dia3Z5WER/yMp8O3xqC8UYBGpFTpSiSMZOpE4Xhlgv4uTJ8KwWSH7zmhnc8wN1 dfX2LS1rCVlzAl3xmBo+1wgITaF2c+UiTLswZaXOeLgbFyokMysaQfYQp8mhPNwSK+ut cZ3L5Kdy8MSg98l9t9xv3zH8U+upDUAwbWbNbOE0fcKtUuNknjAIUBAJ0dfaJCrM4moK jyp4heA0pDhdh4FrSC0zOvX/jbUajpHl6wZwRW+dLfI41QC0XGMRE4tzsKxnfh0oEHtE Rc9e4Bkfgmd3sQ0hWHiPb4h+tpGlI4rHltcn4Qtv/JPjqhcfeIIfODtF7fcVTcUELW+s 6wdA== MIME-Version: 1.0 X-Received: by 10.50.49.14 with SMTP id q14mr1791576ign.2.1376572828084; Thu, 15 Aug 2013 06:20:28 -0700 (PDT) Received: by 10.50.27.73 with HTTP; Thu, 15 Aug 2013 06:20:27 -0700 (PDT) In-Reply-To: References: <60BF8DD5-FEEA-47D9-834F-6C7FDEF3B879@wiedler.ch> <6644FE5E-4CBA-4A08-8766-8634CAA4426D@wiedler.ch> Date: Thu, 15 Aug 2013 15:20:27 +0200 Message-ID: To: Marcello Duarte Cc: Igor Wiedler , Daniel Bingham , Michael Wallner , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=e89a8f8395b36cf1d804e3fc5601 Subject: Re: [PHP-DEV] [RFC] Importing namespaced functions From: tyra3l@gmail.com (Ferenc Kovacs) --e89a8f8395b36cf1d804e3fc5601 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2013 at 3:11 PM, Marcello Duarte wrote: > Hi, > > Are there any thoughts regarding importing multiple functions of a > namespace with a wildcard? > > A use case being, for example, assertions from a testing framework. > > use (or use function) TestingFramework\Assertions\; > // in java * is used for wildcard > currently this isn't supported for namespaced classes, so I think it would be a good idea to keep this rfc consistent with what we have there. of course a separate rfc can be created to introduce this feature, but from the previous discussions I think that it would see a bit more debate, and would also much harder to implement than what is proposed here. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --e89a8f8395b36cf1d804e3fc5601--