> Le 28 juil. 2019 à 21:12, Marco Pivetta <ocram...@gmail.com> a écrit :
> 
> On Sun, Jul 28, 2019 at 9:06 PM Stanislav Malyshev <smalys...@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

Do your teams actively remove direct calls to array_push() and 
array_multisort()? In any case, I’m sure that most PHP developers don’t.

—Claude
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to