3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = [ 'test', 'test1' ]; array_walk($array, function($key, $val){ echo "$key\n"; echo "$val\n"; });
Output for 7.3.0alpha1
test 0 test1 1