Discussione: [PHP] Problema IF
View Single Post
Old 09-10-2007, 14:37   #2
andbin
Senior Member
 
L'Avatar di andbin
 
Iscritto dal: Nov 2005
Cittā: TO
Messaggi: 5206
Quote:
Originariamente inviato da Phaedra Guarda i messaggi
non dovrebbero essere tutte false?
Dalla documentazione:

If you compare an integer with a string, the string is converted to a number. If you compare two numerical strings, they are compared as integers.
__________________
Andrea, SCJP 5 (91%) - SCWCD 5 (94%)
andbin č offline   Rispondi citando il messaggio o parte di esso