P

Pritvik • 5.07K Points
Tutor III

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

Code:
<?php
    $nbr = range(0, 2);
    print_r ($nbr);
?>
  • (A) Array([0] => 0, [1] => 1, [2] => 2)
  • (B) Array([0] => 0, [1] => 1)
  • (C) Array([1] => 1, [2] => 2)
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 129
  • Filed under category PHP

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics