Re: [RFC] \PHP namespace usage heuristics
| From: | Rowan Tommins | Date: | Tue, 21 Jul 2020 08:31:35 +0000 |
| Subject: | Re: [RFC] \PHP namespace usage heuristics | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111088@lists.php.net to get a copy of this message | ||
On Tue, 21 Jul 2020 at 01:36, Mark Randall <marandall@php.net> wrote:
> So either you fake namespaces e.g. PhpToken or you trample on userland
> \Tokenizer.
>
While you're making a reasonable point, I really wish people would stop
using that particular class as an example, because I don't think the "PHP"
in its name is a " fake namespace" at all - it is an object representing a
token of PHP source code, and thus a PHP token. Even inside a namespace,
there would be an argument for giving it that name.
Regards,
--
Rowan Tommins
[IMSoP]