range: A--F : Array range « Data Structure « PHP






range: A--F


<?php
   $letters = range("A","F");
   // $letters = array("A,","B","C","D","E","F");
   print_r($letters);
?>
           
       








Related examples in the same category

1.range(0,20,2)
2.range: Create an array containing a range of elements