is_unicode

(PHP 5 CVS only)

is_unicode -- Finds whether a variable is a unicode string

说明

bool is_unicode ( mixed var )

Finds whether the given variable is a unicode string.

参数

var

The variable being evaluated.

返回值

Returns TRUE if var is a unicode string, FALSE otherwise.

参见

is_binary()
is_buffer()
is_string()
unicode_encode()