Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84215 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54734 invoked from network); 3 Mar 2015 06:03:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 06:03:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=michaeljs1990@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=michaeljs1990@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.51 as permitted sender) X-PHP-List-Original-Sender: michaeljs1990@gmail.com X-Host-Fingerprint: 209.85.218.51 mail-oi0-f51.google.com Received: from [209.85.218.51] ([209.85.218.51:54632] helo=mail-oi0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/70-48125-6CE45F45 for ; Tue, 03 Mar 2015 01:03:51 -0500 Received: by mail-oi0-f51.google.com with SMTP id g201so31343182oib.10 for ; Mon, 02 Mar 2015 22:03:47 -0800 (PST) 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=BD+FC9tUZTxq8zHLNPWVyFqHLE6ZL4RhBClGm4wZYng=; b=j6uBeCGyNdp/kvI1zbBGmkk74OO2vvlafkPBRMnP26Wh264EGDsSuV730ei5GKa/WW 8woFbT/EtrC/VUTsso8kWD2sUjc909dp+Vkv9kLNO8aWV5Fzh/Bm1tkwOlh/9GdPTDnc kvsm/j3lFuo+M4ccMrDBywGywbi1VH1ZRi8COGT4WeLPD6X3kAjeipiP3x2tLbXBy5GS Deb8M7X0S9XdBxRQtfzc2JJQ1AC/iSfptCi8pQpveqOvVONYB8E8+jkyCWrs9BXDp+4K 1qxeLwwTVfrZm1nj/9DXZoGkXfdfiPwHWdzI3+8k6aPF9FjZ1oE3pCFVuPo3nkk5gKAo RQZg== MIME-Version: 1.0 X-Received: by 10.202.95.2 with SMTP id t2mr20678633oib.104.1425362627708; Mon, 02 Mar 2015 22:03:47 -0800 (PST) Received: by 10.60.27.74 with HTTP; Mon, 2 Mar 2015 22:03:47 -0800 (PST) In-Reply-To: <54F5399E.9080204@gmail.com> References: <5E7DF0C5-BCB4-432A-A876-A5057FEBFBB5@gmail.com> <54F320E9.5000706@fischer.name> <54F4159A.6010903@fischer.name> <54F5399E.9080204@gmail.com> Date: Tue, 3 Mar 2015 01:03:47 -0500 Message-ID: To: Stanislav Malyshev Cc: Yasuo Ohgaki , Markus Fischer , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113cdcce19ccab05105c193d Subject: Re: [PHP-DEV] Consistent function names From: michaeljs1990@gmail.com (Michael Schuett) --001a113cdcce19ccab05105c193d Content-Type: text/plain; charset=UTF-8 I can't think of any good use case for a bulk import outside of laziness. Any good IDE will handle this for you and if you are importing as \ then why don't you just not namespace them in the first place. On Mon, Mar 2, 2015 at 11:33 PM, Stanislav Malyshev wrote: > Hi! > > > I would love to have namespace that could be imported like > > > > namespace \php\7\function\* as \; // Import all functions to \ > > namespace \php\7\function\* as \; > > Please no. When we designed namespaces, we explicitly omitted bulk > imports, and the reasons that were true then are still true now. Bulk > imports are a road to a huge mess and return to the same problem > namespaces were created to fix. > > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a113cdcce19ccab05105c193d--