1.

What will be the output of the following PHP code ?
  <?php $number = range(0, 5); print_r ($number); ?>  

A. Array ( [0] =&gt; 0 [1] =&gt; 1 [2] =&gt; 2 [3] =&gt; 3 [4] =&gt; 4 [5] =&gt; 5 )
B. Array ( [0] =&gt; 0 [1] =&gt; 0 [2] =&gt; 0 [3] =&gt; 0 [4] =&gt; 0 [5] =&gt; 0 )
C. Array ( [0] =&gt; 5 [1] =&gt; 5 [2] =&gt; 5 [3] =&gt; 5 [4] =&gt; 5 [5] =&gt; 5 )
D. Array ( [0] =&gt; 0 [5] =&gt; 5 )
Answer» B. Array ( [0] =&gt; 0 [1] =&gt; 0 [2] =&gt; 0 [3] =&gt; 0 [4] =&gt; 0 [5] =&gt; 0 )


Discussion

No Comment Found