Метод |
Описание |
|
allowsCallOfMethod ( string $methodName ) : boolean |
|
|
className ( object $variable ) : string | null |
Get the class name of the given variable or NULL if it wasn't an object |
|
getType ( mixed $variable ) : string |
Get the variable type |
|
instance ( mixed $variable, string $expectedObjectType ) : boolean |
Is the given variable of the provided object type. |
|
isArray ( mixed $variable ) : boolean |
Is the given variable an array. |
|
isBoolean ( mixed $variable ) : boolean |
Is the given variable boolean. |
|
isFloat ( mixed $variable ) : boolean |
Is the given variable a float. |
|
isInteger ( mixed $variable ) : boolean |
Is the given variable an integer. |
|
isNumeric ( mixed $variable ) : boolean |
Is the given variable numeric. |
|
isObject ( mixed $variable ) : boolean |
Is the given variable an object. |
|
isScalar ( mixed $variable ) : boolean |
Is the given variable a scalar. |
|
isString ( mixed $variable ) : boolean |
Is the given variable a string. |
|
typeof ( mixed $variable ) : string |
Get the variable type |
|