3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('foo', '12', '3.14', 'bar', '456'); array_walk($arr, 'intval'); var_dump($arr);
Output for 4.3.0 - 5.6.26, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
array(5) { [0]=> string(3) "foo" [1]=> string(2) "12" [2]=> string(4) "3.14" [3]=> string(3) "bar" [4]=> string(3) "456" }