Home » 
        MCQs » 
        PHP MCQs
    
        
    What will be the output of the following PHP code (15)?
    
    
    
    60. What will be the output of the following PHP code?
<?php
$x = -123.45;
echo var_dump(is_int($x));
?>
    
        - bool(false)
 
        - bool(true)
 
        - false
 
        - true
 
    
    Answer: A) bool(false)
    Explanation:
    The is_int() method returns either true or false. Thus, the output of the above statement will be "bool(false)".