3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $custom = array( 'name' => 'delete', 'type' => null, 'label' => null, 'class' => null, 'icon' => null, ); $default = array( 'name' => 'delete', 'type' => 'method', 'label' => 'action.delete', 'class' => '', 'icon' => 'trash', ); $result = array_merge($default, $custom);
Output for 4.3.0 - 7.2.0