is_string

is_string

(PHP 4, PHP 5, PHP 7)

is_stringFind whether the type of a variable is string

Description

bool is_string ( mixed $var )

Finds whether the type given variable is string.

Parameters

var

The variable being evaluated.

Return Values

Returns TRUE if 登录查看完整内容