Re:[VOTE] array_key_first(), array_key_last(), array_value_first(),array_value_last()
| From: | CHU Zhaowei | Date: | Mon, 09 Jul 2018 17:31:08 +0000 |
| Subject: | Re:[VOTE] array_key_first(), array_key_last(), array_value_first(),array_value_last() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102673@lists.php.net to get a copy of this message | ||
I voted no.
I don't think we have an agreement on dealing with non-existing value, and the way this RFC
proposed, just returning null without any notice/warning, is wrong IMO. I know we already do this in
other array_* functions, but we cannot keep making mistakes just because we already made same
mistake.
Regards,
CHU Zhaowei