range Create an array containing a range of elements : Array range : Data Structure PHP Source Code


PHP Source Code » Data Structure » Array range »

 

range Create an array containing a range of elements




<?php
   $die = range(0,6);
   // Same as specifying $die = array(0,1,2,3,4,5,6)
   print_r($die);
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Data Structure
» Array range