Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$number = range(0,5);
print_r ($number);
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_range by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:22:39 GMT -->
</html>
Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 )