Not All Strings In Arrays

no-email (Damien Seguy), Damien Seguy
Sun, 24 Jul 2022 00:00:00 +0000

Array keys are coerced into strings or integers, while array values are left intact.
Yet, this doesn't apply to array keys, so this code will display an 'Uncaught TypeError: Illegal offset type', even without strict_types.
This code needs an explicit cast to string to work.