Hi,
?
$value=0;
if ($value=="NULL")
echo "Value is NULL!";
else
echo "Value is not null.";
?
output: Value is NULL!
is it a bug or expected behaviour? tested it on 4.0.4pl1.
i got around it by using strcasecmp(), but just wondering. :)
Rgds,
Tfr
--== [EMAIL PROTECTED] ==
indrek siitan wrote:
Hi,
?
$value=0;
if ($value=="NULL")
echo "Value is NULL!";
else
echo "Value is not null.";
?
output: Value is NULL!
is it a bug or expected behaviour? tested it on 4.0.4pl1.
i got around it by using strcasecmp(), but just wondering. :)
It's
2 matches
Mail list logo