
24/01/2003, 15:10
|
O_O | | Fecha de Ingreso: enero-2002 Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 23 años, 2 meses Puntos: 129 | |
mmm pues:
is_int
Find whether a variable is an integer (PHP 3, PHP 4 )
bool is_int ( mixed var )
Returns TRUE if var is an integer FALSE otherwise.
Note:
To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric().
See also is_bool(), is_float(), is_integer(), is_numeric() , is_string(), is_array(), and is_object().
Siempre el manual de PHP oficial te da alternativas o funciones afines a cualquiera q busques .. Ademas tienes organizadas en capítulos todas las funcones referentes a un tema ..
Un saludo, |