Hi Levi, Levi Morrison wrote:
I wanted to chime in since I voted no. I'm not strongly opposed to this behavior but I do have concerns about the key behavior that was changed. In an example in the RFC:list($foo => $bar) = $array; I don't think this really makes sense. `$foo` is being evaluated and its value is used to look up the key in `$array`, but `$bar` is being assigned to even though it's a similar place as `$foo`. I don't think I've really expressed well what I am trying to convey but I think this RFC would be much better *without* this change, so I've voted no.
Well, this is why we have discussion periods. I brought this up before as an open issue. Nobody told me they objected to it, and everyone who did respond told me they favoured the current behaviour. I decided, therefore, that the risk of confusion was low.
-- Andrea Faulds https://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
