What is the output of this PHP code?
<?php
$numbers = [10, 20, 30, 40];
echo $numbers[2];
?>
Options
- A. 10
- B. 20
- C. 30
- D. More than one of the above
- E. None of the above
Quiz Practice:
<?php
$numbers = [10, 20, 30, 40];
echo $numbers[2];
?>
C. 30