- var_dump: documentation ( source)
- array_replace: documentation ( source)
<?php
$defaultCoordinates = array('Years' => 'All Years',
'Months' => 'All Months',
'Days' => 'All Days',
'Hours' => 'All Hours',
'Time' => 'All Time');
var_dump(array_replace($defaultCoordinates, array('2014')));