Re: [RFC] [Discussion] array_get and array_has functions
| From: | Aleksander Machniak | Date: | Sun, 05 Apr 2026 06:14:57 +0000 |
| Subject: | Re: [RFC] [Discussion] array_get and array_has functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130564@lists.php.net to get a copy of this message | ||
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