[snip]
This is probably a real newbie error, but PHP's is_nan function is not
playing for me. I've got this as a test:
<?
$tester = "hello";
if (is_nan($tester))
{
echo "this works";
exit;
}
else
{
echo "don't work";
exit;
}
?>
[/snip]
is_nan expects a floating point number. What version of PHP?