Re: [RFC] Shorter Attribute Syntax Change RFC 0.2
| From: | Benas IML | Date: | Thu, 06 Aug 2020 10:24:38 +0000 |
| Subject: | Re: [RFC] Shorter Attribute Syntax Change RFC 0.2 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111360@lists.php.net to get a copy of this message | ||
A grep search was done by someone in the mailing list in the original
<<...>> to @@... RFC thread when discussing whether
#[ is going
to be a huge BC or not.
Just about all of the matches were either from old codebases or from
old PHP 3-5 Metasploit exploits, which are about 5-15 years old.
Best regards,
Benas
P.S: I accidentally sent this to Rowan only, so forwarding this to the
mailing list as well.
On Thu, 6 Aug 2020 at 11:45, Rowan Tommins <rowan.collins@gmail.com> wrote:
>
> On Thu, 6 Aug 2020 at 09:12, Benas IML <benas.molis.iml@gmail.com> wrote:
>
> >
> > But by sacrificing a few very old codebases (that still use
> > # not //)
> >
>
>
> Do you have some basis for # only being used by "very old" codebases? As
> far as I'm aware, it's not deprecated, and while the PEAR style guide
> listed it as "discouraged", PSR-1 / 2 / 12 don't mention it at all.
>
> I agree that it is probably rarer than //... and /*...*/ but let's avoid
> unnecessary hyperbole.
>
> Regards,
> --
> Rowan Tommins
> [IMSoP]