3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $prodObj['test'] = true; $prodObj['sample'] = 5; $test = array_merge($prodObj); print_r($test); ?>
Output for 4.3.0 - 7.1.0
Array ( [test] => 1 [sample] => 5 )