What Will Be The Output Of The Following Php Codep Pre Langphp #58
What will be the output of the following PHP code?</p> <pre><code class="language-php" line="1"> <?php $number = range(0, 5); print_r ($number); ?> </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP Array - PHP Array - Quiz No.3.
What will be the output of the following PHP code?
<?php $number = range(0, 5); print_r ($number); ?>
Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 )
Array ( [0] => 0 [1] => 0 [2] => 0 [3] => 0 [4] => 0 [5] => 0 )
Array ( [0] => 5 [1] => 5 [2] => 5 [3] => 5 [4] => 5 [5] => 5 )
Array ( [0] => 0 [5] => 5 )