

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code?
<?php $fruits = array ("mango", "apple", "pear", "peach"); $fruits = array_flip($fruits); echo ($fruits[0]); ?> |
A. | Mango |
B. | Error |
C. | Peach |
D. | 0 |
Answer» C. Peach | |