Hi!

>     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.
> 
> 
> Yes: usually replaced by `[]` or wrappers of those functions that
> de-reference the variables, so that no references are used.

Again, by "usually" you mean "I do that" and maybe "my friends do that",
but that claim is not generally true. Also, array_push() is pretty bad
example here as it is pretty much the only by-ref function that has an
almost perfect syntax analogue in the language ([]). None of the others do.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to