<?php $defaultOptions = array( 'listClass' => 'default', 'test' => 'test' ); $options = array( 'listClass' => 'new', 'id' => '1' ); $options = $options + $defaultOptions; print_r($options);
You have javascript disabled. You will not be able to edit any code.