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
I stumbled upon this PR during a migration to PHP 8.3:
array_sum() and array_product() now warn when values in the array cannot be converted to int/float.
This seems to be not the case. As we can see at https://3v4l.org/lKNfW#v8.3.20, the value (string) 3Hallo is converted to 3. So either the warning Warning: A non-numeric value encountered in or the documentation is not right.
Since cannot be converted to int/float. is not the case here, does this mean the documentation is inaccurate?