A

Admin • 828.03K Points
Coach

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: 5
  • Filed under category PHP
  • Hashtags:

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.