PHP - Type Handling
You want to check if a variable
$data is an integer or a float in PHP. Which code snippet correctly uses gettype() to do this?$data is an integer or a float in PHP. Which code snippet correctly uses gettype() to do this?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions