range

(PHP 3>= 3.0.8, PHP 4 >= 4.0b4)

range --  Crée un tableau contenant un intervalle d'entiers

Description

array range (int low, int high)

range() retourne un tableau contenant tous les entiers depuis low jusqu'à high, inclus.

Voir shuffle() pour un exemple d'utilisation.