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
The toLocaleString() method returns a string representing the elements of the array. The elements are converted to Strings using their toLocaleString methods and these Strings are separated by a locale-specific String (such as a comma “,”).
In PHP as far as I know there is no toLocaleString. My suggestion is to try to convert into locale string detecting the type
@roberto-butti I saw this issue, I would like to know if I can still work on it. And if so, I have a question, in the types where objects, functions and resources are, what should I do, leave it blank and continue?
hello thank you for your availability. Yes if the elements is not translatable into a string, you can convert it in a empty string (like if null os used in an element)
What
Add new method to Arr class, in src/Arr.php file
Description
The toLocaleString() method returns a string representing the elements of the array. The elements are converted to Strings using their toLocaleString methods and these Strings are separated by a locale-specific String (such as a comma “,”).
In PHP as far as I know there is no toLocaleString. My suggestion is to try to convert into locale string detecting the type
see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
Checklist
The text was updated successfully, but these errors were encountered: