3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = array('A' => 3, 'B' => 4); $a2 = array(); //print_r(array_keys($a1)+array_values($a2)); print_r($a2+$a1);
based on gvPNM
Output for 4.3.0 - 7.2.0
Array ( [A] => 3 [B] => 4 )