3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $a1=array("a"=>"red","b"=>"green"); $a2=array("c"=>"blue","b"=>"yellow"); print_r(array_merge($a1,$a2)); ?> </body> </html>
Output for 4.3.0 - 7.2.0
<!DOCTYPE html> <html> <body> Array ( [a] => red [b] => yellow [c] => blue ) </body> </html>