3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $defaultOptions = array( 'listClass' => 'default', 'test' => 'test' ); $options = array( 'listClass' => 'new', 'id' => '1' ); $options = $options + $defaultOptions;
based on i3I57
Output for 4.3.0 - 7.2.0