πŸ“Š PHP
Q. What is the result of the following PHP code?
Code:
<?php
    $colors = array ("Blue", "Black", "Yellow", "Green");
    $colors = array_flip($colors);
    echo ($colors[0]);
?>
  • (A) Blue
  • (B) Green
  • (C) 0
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
168199
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Pritvik
Publisher
πŸ“ˆ
95%
Success Rate