is_numeric

(PHP 4 >= 4.0.0)

is_numeric --  Détermine si une variable est un type numérique

Description

bool is_numeric (mixed var)

is_numeric() retourne TRUE si var est un nombre, ou une chaîne numérique, ou FALSE sinon.

Voir aussi is_bool(), is_double(), is_float(), is_int(), is_real(), is_string(), is_object(), is_array(), et is_integer().