3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $conf = array(); $test = array( array( 'conf1' => '1' ), array( 'conf2' => '2' ), array( 'conf3' => '3' ), ); foreach ($test as $item) { $config = array_merge($conf, $item); } var_dump($conf);
based on g4CcW
Output for 4.3.0 - 7.2.0
array(0) { }