kelunik / typeof
Types of PHP variables.
v1.0.0
2016-11-07 11:15 UTC
This package is auto-updated.
Last update: 2023-03-15 03:39:36 UTC
README
Installation
composer require kelunik/typeof
Usage
<?php use function Kelunik\Typeof\typeof; var_dump(typeof(new stdClass)); // "stdClass" var_dump(typeof("")); // "string" var_dump(typeof(42)); // "integer" var_dump(typeof(42.)); // "double"
License
MIT.