Den 2019-07-30 kl. 00:27, skrev Björn Larsson:

Den 2019-07-29 kl. 20:00, skrev Stephen Reay:
On 29 Jul 2019, at 22:34, Rowan Collins <rowan.coll...@gmail.com> wrote:

I guess what I had in mind was that *in the long-term*,
out/inout parameters would replace & parameters,
Excuse my ignorance (presumably about the complexity involved) if this is obvious, but if out/inout parameters are considered to be a better solution for the problem references generally solve (I don’t doubt that they are, even as a user of references), why is that inherently a “long term” goal? Is it not a feasible goal for next years release?

Cheers
Stephen

To replace current PHP way of handling parameters is for sure a
long-term goal, just imagine the BC break...

To introduce out/inout parameters without phasing out references
is probably a shorter goal to accomplish.

r//Björn L

PS I meant "replace current PHP way of handling reference parameters".

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

Reply via email to