Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98229 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98964 invoked from network); 7 Feb 2017 01:58:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2017 01:58:55 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.178 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.178 mail-pf0-f178.google.com Received: from [209.85.192.178] ([209.85.192.178:35604] helo=mail-pf0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/D3-03389-ED929985 for ; Mon, 06 Feb 2017 20:58:54 -0500 Received: by mail-pf0-f178.google.com with SMTP id f144so28472918pfa.2 for ; Mon, 06 Feb 2017 17:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=y2ksQtQ1ixSnfeNMK6GCc5A1KY6/gXMbU2heG5ZTfmE=; b=cQhfjNQTa3TJWOypKG3bxqF9nlBrsgzSgatrmQ7o0N94aekI2L8uiAzFbxf4CdYmss VJoHTu4DXPQpDdIHPzGp8+FIvomNW137oPdB59uqL0pYnVW/rCMdEMXfBvmcHFAApBft CL+tnaOboVy9O1JwccgWvp7hmd0Xhq9ZOywvVo6e8p78d0KZ+Q7kiszkO09cN5kodPpo GVr3021YEi4hBVUTYut9UnOy8kGSC9+C+QAfS4XMYivoBFBGLqlwMPShcS0cDF65g93s wtO/7UBkUATqnPE3FyRKs16pc79JP1W15yvEwMj7gl+xF2lzQ7v0wHf/vSO+musvT6C+ 9BWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=y2ksQtQ1ixSnfeNMK6GCc5A1KY6/gXMbU2heG5ZTfmE=; b=aA/S/RD1EBVhHOzsKs8XTiFyV4ic5eOeFoQ9jtIXichANhxxP3L2E3y50TnnmZVopZ hlgmqmUScGDloBRKeL72l2s/XAPRkgvpQLq7rUjVBcJzw7xS3u3Sfr2GeAF9j6XwkwuS zm349SS5WeL5AktU9rzUj7w606jgLh2+3ogkqq7WrcaYHtQIt1H7F4AJqDmx5toZ8ohY VdrCUjLgPDP87Je+WBpltnyRymFukgjHErcvHYHas8pCO4Zj5GjmGLzirpZe7KNBFHLS gC2hgjNm94qUd/0f3wKfxm+57J2pO+ZkDZf3R9zr66SqLOy3n24ldT+NKJmWfXOhD+Pb z3Ow== X-Gm-Message-State: AIkVDXIe8asJXmKKm2oRIUHehMXAWlEx340cqFE8nZQAzTJeh4ofaK3DZ45uORgCDGXf/A== X-Received: by 10.99.3.5 with SMTP id 5mr17426351pgd.150.1486432731186; Mon, 06 Feb 2017 17:58:51 -0800 (PST) Received: from Stas-Air-2238.local (108-233-206-104.lightspeed.sntcca.sbcglobal.net. [108.233.206.104]) by smtp.gmail.com with ESMTPSA id o18sm5649766pgn.36.2017.02.06.17.58.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Feb 2017 17:58:49 -0800 (PST) To: PHP internals References: <459c6bef-8936-634a-9520-dbd65c35b7c7@fleshgrinder.com> Cc: Nikita Popov Message-ID: Date: Mon, 6 Feb 2017 17:58:53 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Namespaces in Core From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > I'm strongly against use of the PHP namespace as a blanket namespace for > bundled PHP extensions. The PHP namespace should be used only for > functionality that is actually in some way related to PHP. For example, the > php-ast extension could reasonably be namespaced as php\ast, as it provides > an AST for PHP specifically. Similarly the tokenizer extension could > reasonably be namespaced as php\tokenizer. Agree. If we ever need namespace for mongodb extension, it should be mongodb (choose capitalization to your liking), not php\mongodb - php\ should be things that are really php core or specifically deal with aspects of php as a language - tokenizer, syntax, etc. And having different NS for extensions in core vs. PECL makes no sense to me either - especially given that for any user of distros this distinction is completely immaterial. -- Stas Malyshev smalyshev@gmail.com