is_scalar(PHP 4 >= 4.0.5, PHP 5) is_scalar — Finds whether a variable is a scalar ОписаниеFinds whether the given variable is a scalar. Scalar variables are those containing an integer, float, string or boolean. Types array, object and resource are not scalar.
Список параметров
Возвращаемые значенияReturns TRUE if var is a scalar FALSE otherwise. Примеры
Пример #1 is_scalar() example
<?phpРезультат выполнения данного примера:
Смотрите также
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |