3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo var_export(array('type' => 'object', 'properties' => array('one' => 'one')) + array('properties' => array('two' => 'two'))); echo var_export(array_merge(array('type' => 'object', 'properties' => array('one' => 'one')), array('properties' => array('two' => 'two'))));
Output for 4.3.0 - 7.1.0
array ( 'type' => 'object', 'properties' => array ( 'one' => 'one', ), )array ( 'type' => 'object', 'properties' => array ( 'two' => 'two', ), )