kelunik/typeof

Types of PHP variables.

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kelunik/typeof

v1.0.0 2016-11-07 11:15 UTC

This package is auto-updated.

Last update: 2025-09-15 09:10:17 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.