gettype

PHP 4, PHP 5, PHP 7, PHP 8
gettype - Get the type of a variable
Manual
Code Examples

Example #1 gettype example

Result: integer double NULL object string
PHP Version:


Function gettype:

Variable handling Functions

Most used PHP functions