of data.
> In this case to strings. It would probably always be to strings though.
>
> Charles
>
> -Original Message-
> From: Christian Zambrano [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 10:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Str
$key=0;
$key=="muppet"?TRUE:FALSE;
The reason this last comparison returns true is that since you are comparing
an integer with a string, the strings gets converted to an integer and since
"muppet" does not have any numeric character it gets converted to 0. In
other words as far PHP in concerned yo