3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('green', 'red'); $b = array('avocado', 'apple', 'a'); $c = array_combine($a, $b); print_r($c);