range « Utility Function « PHP






1.range( ) function creates an array of numbers between a low value and a high value.
2.range( ) function has a third parameter that allows you specify a step amount in the range.
3.If your low parameter (parameter one) is higher than your high parameter (parameter two), you get an array counting down, like this:
4.Initializing an Array As a Range or Sequence of Values: array range(mixed $start, mixed $end[, mixed $step])
5.Use range( ) to create arrays of characters, like this: