Programming Code Center(PCC)
[PHP]

(PCC)::[How-to-check-Invalid-calculation-will-return-a-NaN-value-in-php]::[php]

File Name : index.php

<!DOCTYPE html>
<html>
<body>

<?php
// Invalid calculation will return a NaN value
$x = acos(8);
var_dump($x);
?>  

</body>
</html>

Output :