3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('Content-Type' => 'text/plain'); $b = array('Content-Type' => 'application/json', 'foo' => 'bar'); var_dump(array_merge($a, $b));
Output for 4.3.0 - 7.1.0
array(2) { ["Content-Type"]=> string(16) "application/json" ["foo"]=> string(3) "bar" }