range Create an array containing a range of elements &reftitle.description; arrayrange mixedstart mixedlimit numberstep1 Create an array containing a range of elements. &reftitle.parameters; start First value of the sequence. limit The sequence is ended upon reaching the limit value. step If a step value is given, it will be used as the increment between elements in the sequence. step should be given as a positive number. If not specified, step will default to 1. &reftitle.returnvalues; Returns an array of elements from start to limit, inclusive. &reftitle.changelog; &Version; &Description; 5.0.0 The optional step parameter was added. 4.1.0 to 4.3.2 In PHP versions 4.1.0 through 4.3.2, range sees numeric strings as strings and not integers. Instead, they will be used for character sequences. For example, "4242" is treated as "4". 4.1.0 Prior to PHP 4.1.0, range only generated incrementing integer arrays. Support for character sequences and decrementing arrays was added in 4.1.0. Character sequence values are limited to a length of one. If a length greater than one is entered, only the first character is used. &reftitle.examples; <function>range</function> examples ]]> &reftitle.seealso; shuffle array_fill &foreach;