What will be the output of the following PHP code (16)?

64. What will be the output of the following PHP code?

<?php
echo var_dump(is_nan(10));
?>
  1. bool(false)
  2. bool(true)
  3. false
  4. true

Answer: A) bool(false)

Explanation:

The is_nan() method is used to check whether the given value is NaN or not. Thus, the output of the above statement will be "bool(false)".

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.