- ⌂ php_util
- Static Methods
php_util::get_human_type()
Returns the type (see PHP's built-in gettype()), but if it is an object return the class (see PHP's built-in get_class).
Prototype
string get_human_type(mixed $value)
Parameters
- value - Value to return the type or class for.
Example
$type = \io_comand_util\php_util::get_human_type();
echo($type);