There are some problem by using double back slash for PHP namespace?

Eg. Instead of \PHP\String be just \\String.

Em ter, 7 de jul de 2020 19:04, Larry Garfield <la...@garfieldtech.com>
escreveu:

> On Tue, Jul 7, 2020, at 4:22 PM, Miguel Rosales wrote:
> > Larry Garfield wrote on 07/07/2020 16:46:
> > > This has reached the 2 week mark, but there's not been much
> discussion.  Anyone else want to weigh in?
> > >
> >
> > I guess I'm missing something obvious here, but the RFC says:
> >
> >  > 5. Component or sub-component namespaces MUST use CamelCase naming
> > conventions.
> >
> > But then in the examples you've got e.g. \PHP\DOM\ or \PHP\SPL\... isn't
> > that incorrect?
> >
> > And slightly related, is there any reason to use \PHP  instead of \Php?
> >
> > Sorry if this has been discussed before, I haven't seen it.
> >
> > Cheers,
> > Miguel
>
> Mm, mainly because I added the CamelCase clause late and didn't think
> about abbreviations.  Whether it should be PHP/XML/DOM or Php/Xml/Dom has
> been an ongoing debate for at least since PHP 5.0.  I have no preference
> strong enough to die on that hill, though, so whatever voters are willing
> to go for I'm good with.
>
> Anyone care enough to offer a bikeshed color?
>
> --Larry Garfield
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
>

Reply via email to