Re: Re: [RFC] Explicit call-site send-by-ref syntax
| From: | Marco Pivetta | Date: | Sun, 28 Jul 2019 19:12:14 +0000 |
| Subject: | Re: Re: [RFC] Explicit call-site send-by-ref syntax | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106312@lists.php.net to get a copy of this message | ||
On Sun, Jul 28, 2019 at 9:06 PM Stanislav Malyshev <smalyshev@gmail.com>
wrote:
> Hi!
>
> > Nah, by-ref is pretty much avoided in OSS packages, but we can surely
> > survey the ecosystem to verify this.
>
> I literally work with code that uses references every day. So may be you
> haven't encountered it but the attitude of "nah, never happens" I think
> is a bit misplaced.
> Also please remember not all PHP code is latest composer packages. In
> fact, most of it isn't.
>
I do work with code like that: the teams maintaining these codebases are
actively removing by-ref calls when they encounter them.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/