As Kamil mentioned, this is not limited to a single function but to array type as a whole. See previous discussion https://externals.io/message/116735.

On 5/24/2025 6:43 PM, 马正强 wrote:

I propose adding a |preserve_key_types| parameter to |array_keys()| to address issues caused by automatic conversion of string-numeric keys to integers.

Reply via email to