Answers for "how to check variable type number in php"

PHP
5

php is variable a number

if(is_numeric($what_am_i)){
	//true
}
Posted by: Guest on September-24-2020
5

check type in php

gettype ( mixed $var ) : string
Posted by: Guest on February-22-2020

Code answers related to "how to check variable type number in php"

Browse Popular Code Answers by Language