Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/05/2009, 14:45
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Respuesta: Problemas con variables

ctype_digit solo funciona con strings, al tu pasarle 2 pasa esto:
Código:
(!ctype_digit(2) || 2 < 1 ) --> ( !false || false ) --> (true || false ) --> true
Saludos.