You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a6e0e9
Browse filesBrowse the repository at this point in the historyBrowse files
Type a float cast to string as a numeric string or 'INF', '-INF', 'NAN'
(string) $float was non-empty-string&uppercase-string since 4a36d38,
because INF, -INF and NAN are not numeric. Every other float does
stringify as a numeric string, though, and losing that dropped int from
array keys built from it: (string) 10.0 is '10', which PHP turns into an
int key, but $map[(string) $float] became array<non-empty-string, ...>,
so passing it where array<string, ...> is expected was no longer
reported.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1b1c2-4005-7120-a2fa-17285a96ea5b
0 commit comments