Re: [RFC] \PHP namespace usage heuristics
| From: | Rowan Tommins | Date: | Fri, 17 Jul 2020 08:28:32 +0000 |
| Subject: | Re: [RFC] \PHP namespace usage heuristics | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111060@lists.php.net to get a copy of this message | ||
On Fri, 17 Jul 2020 at 04:50, Levi Morrison via internals <
internals@lists.php.net> wrote:
> This is not quite the same. I said it moves from _userland_ aka PHP
> code, to an _extension_ aka C code. I oppose
Ext in both case.
>
Hi Levi,
Given this, I presume you also oppose PHP\ for those cases. Do you see
value in using that namespace for code which could never be implemented in
userland, or would you prefer a policy of never using it?
Relatedly, would you be in favour of allowing bundled extensions to use
namespaces in general, with no vendor prefix (as Sodium did in PECL)? Or
should the policy be that there are no namespaces used by the core?
Regards,
--
Rowan Tommins
[IMSoP]