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

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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