Answers for "php show variable type"

PHP
4

getttype php

gettype ( mixed $var ) : string

gettype ("SALUT") => string
gettype (2) => integer    
  ...etc ...
  
"bool"
"integer"
"double"
"array"
"object"
"resource"
"NULL"
"unknown type"
Posted by: Guest on November-10-2020
5

check type in php

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

Browse Popular Code Answers by Language