[thelist] PHP is_nan

Jay Blanchard jay.blanchard at niicommunications.com
Wed Jul 2 15:25:31 CDT 2003


[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?


More information about the thelist mailing list