English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The is_nan() function checks for 'non-numeric' values. If num is not a number, it returns TRUE, otherwise it returns FALSE.
is_nan(num)
num-Value to check
If num is not a number, the is_nan() function returns TRUE, otherwise it returns FALSE.
<?php echo is_nan(10) ?>
Let's see another example-
<?php echo is_nan(acos(1)); ?>