3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(array_map('intval', array(3 => 4.6, 5 => 7)));
based on bvLgN
Output for 4.3.0 - 7.3.0rc4
Array ( [3] => 4 [5] => 7 )