> Le 29 juil. 2019 à 16:40, Nikita Popov <nikita....@gmail.com> a écrit :
> 
> 
> You seem to be agreeing with what I originally said: That by-reference 
> passing is mainly useful to interoperate with by-reference internal 
> functions, which don't exactly leave you with a choice.
> 

To be clear: No, I’m not agreeing with: “That by-reference passing is mainly 
useful to interoperate with by-reference internal functions”. I don’t think 
that every PHP developer consider that the design of `array_push()` and 
`array_multisort()` is flawed, and that they must avoid such a pattern in their 
own user-defined functions.

More generally, I don’t think that every PHP developer consider that only the 
latest trendy coding style is valid, or that every legacy code not following 
that style should be rewritten.

—Claude

Reply via email to