Assign values to a PHP array

 

<?PHP

$seasons = array();

$seasons[ ]="Autumn";
$seasons[ ]="Winter";
$seasons[ ]="Spring";
$seasons[ ]="Summer";

print $seasons[0] . " ";
print $seasons[1] . " ";
print $seasons[2] . " ";
print $seasons[3];

?>