PHP Interview questions


Total available count: 33
Subject - PHP Frameworks
Subsubject - PHP

What is NaN?

Few numeric operations can result in a value represented by the constant NAN. This result represents an undefined or unrepresentable value in floating-point calculations. Any loose or strict comparisons of this value against some other value, including itself will have a output of FALSE.

Because NAN represents any number of different values, NAN should not be compared to other values, including itself, and instead should be checked for using is_nan().




Next 5 interview question(s)

1
PHP supports 8 primitive types. What are they?
2
What are the differences between echo and print in PHP?
3
How to execute a PHP script using command line?
4
What is the difference between include and require?
5
Who is father of PHP?