You'll need to loop over all the items to convert them all. Whether that's a loop you write, or use array_map secure.php.net/manual/en/function.array-map.php , you'll still need to touch each item. Solution would be at least O(n)
↧