#107541Mitigate "Using null as an array offset is deprecated"
Description
PHP8.5.0 deprecates using null as an array offset and recommends
to use an empty string instead, see full deprecation message:
> Using null as an array offset is deprecated,
> use an empty string instead
Using
> $array[‘’]
instead of
> $array[null]
is considered safe as php writes `null` key assignments to empty
string anyway:
> $array[null] = ‘some’;
> var_dump($array);
>
> $array = [‘’ => ‘some’];
[1] https://github.com/php/php-src/commit/49e3956b703b4aeb24c7a42ae3ee89e2a339560d
2 https://github.com/php/php-src/blob/03c9d2303eea3a90be88a729d331da3bc4488aac/UPGRADING#L387-L389