3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 1 => array( 'test' => 3 ) ); $b = array( 1 => array( 'test2' => 3 ) ); $c = array_merge_recursive( $a, $b ); var_dump( $c );

preferences:
63.71 ms | 405 KiB | 5 Q