3v4l.org

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