Q. What is the result of the following PHP code?

Code:
<?php
    $nbr = array ("1", "2", "3", "4");
    echo(next($nbr));
?>
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54770
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Pritvik
Publisher
πŸ“ˆ
96%
Success Rate