i have this code with missing part and the output:
<?php
$months = array('four'=>'April', 'five'=>'May');
Missing#6;
Missing#7;
echo $months['nine']."<br>";
echo $months['ten'];
?>
The output:
**September
October**
and since it has two lines missing, I tried doing
<?php
$months = array('four'=>'April', 'five'=>'May');
$months[] = array('nine'=>'september');
$months = array('ten'=>'october');
echo $months['nine'], "\n";
echo $months['ten'];
?>
but in the compiler only print October and an error for nine:
PHP Notice: Undefined index: nine in 1784341836/source.php on line 5