Re: Re: [VOTE] Deprecate left-associative ternary
| From: | Nikita Popov | Date: | Wed, 24 Apr 2019 18:11:14 +0000 |
| Subject: | Re: Re: [VOTE] Deprecate left-associative ternary | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105403@lists.php.net to get a copy of this message | ||
On Wed, Apr 24, 2019 at 6:29 PM Paul M. Jones <pmjones@pmjones.io> wrote:
> Hi all,
>
>
> > On Apr 24, 2019, at 11:27, Nikita Popov <nikita.ppv@gmail.com> wrote:
> >
> > To better judge the BC impact here, I've analyzed the top 1000 composer
> > packages for this pattern. The results are here:
> >
> > https://gist.github.com/nikic/b6214f87b0e4a7c6fe26919ac849194f
>
> I *love* research like this. Really nicely done. Can you share how you
> accomplished it?
>
Sure, here are the scripts I used:
https://gist.github.com/nikic/a2bfa3e2f604f66115c3e4b8963a6c72
This downloads zipballs for the top composer packages, extracts them, and
uses PHP-Parser to check for uses of ternaries affected by this RFC.
Nikita