Q:

What will be the output of the following PHP code ?

0

What will be the output of the following PHP code ?

<?php
$number = range(0, 5);
print_r ($number);
?>

  1. Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 )
  2. Array ( [0] => 0 [1] => 0 [2] => 0 [3] => 0 [4] => 0 [5] => 0 )
  3. Array ( [0] => 5 [1] => 5 [2] => 5 [3] => 5 [4] => 5 [5] => 5 )
  4. Array ( [0] => 0 [5] => 5 )

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 )

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now