3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myArray=array(123,246); $myArray=array_map("(string)",$myArray);
Output for 5.6.30 - 5.6.38, 7.0.0 - 7.3.1
Warning: array_map() expects parameter 1 to be a valid callback, function '(string)' not found or invalid function name in /in/EZWFQ on line 4
Output for hhvm-3.22.0
Warning: array_map() expects parameter 1 to be a valid callback in /in/EZWFQ on line -1
Output for hhvm-3.15.4 - 3.21.3
Warning: array_map() expects parameter 1 to be a valid callback in /in/EZWFQ on line 4