3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(3,5,"joseph","blah"); $arr = array_map('intval',$arr); print_r($arr);
Output for 4.3.0 - 7.1.0
Array ( [0] => 3 [1] => 5 [2] => 0 [3] => 0 )