![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
is_nan() function in PHP
The is_nan() function checks for ‘not a number’ value. It Returns TRUE if num is 'not a number', else FALSE is Returned.
Syntax
is_nan(num)
Parameters
num − The value to check
Return
The is_nan() function Returns TRUE if num is 'not a number', else FALSE is Returned.
Example
<?php echo is_nan(10) ?>
Let us see another example −
Example
<?php echo is_nan(acos(1)); ?>
Advertisements