range

(PHP 3>= 3.0.8, PHP 4 >= 4.0.0)

range --  Crée un tableau contenant un intervalle d'éléments

Description

array range (int low, int high)

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

Voir aussi shuffle() (pour un exemple d'utilisation).