On 4.04.2026 16:06, Barel wrote:
This is the link to the RFC: https://wiki.php.net/rfc/ array_get_and_array_has <https://wiki.php.net/rfc/array_get_and_array_has>
I'd prefer $key=null case removed. It's not that useful, not on pair with array_has(), and one would debate what to do with the $default in this case.

I'm not sure this needs to be stated in the RFC, but I hope they do not throw a warning when the key does not exist, on any level.

--
Aleksander Machniak
Kolab Groupware Developer        [https://kolab.org]
Roundcube Webmail Developer  [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

Reply via email to