Hum. Can'T get any sense about this.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since NaN is not even equal to itself, here is a way to test it: | |
From: http://de.php.net/manual/en/function.is-nan.php#50295 | |
<?php | |
function my_is_nan($_) { | |
return ($_ !== $_); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment