get_debug_type
PHP 8
get_debug_type - Gets the type name of a variable in a way that is suitable for debugging
Code Examples
Example #1 get_debug_type example
Result: null
bool
int
float
string
array
resource (stream)
resource (closed)
stdClass
class@anonymous