3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_combine(['1','2'],array_map(function(){ return 0; },['1','2'])));
Output for 5.6.30
array(2) { [1]=> int(0) [2]=> int(0) }