is_scalar
ShawnMcCool/phansi
Supported Versions: PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8
Finds whether a variable is a scalar
<?php is_scalar
(
mixed $value
):
bool