is_binary

(PHP 5 CVS only)

is_binary -- Finds whether a variable is a native binary string

说明

bool is_binary ( mixed var )

Finds whether the given variable is a native binary string.

参数

var

The variable being evaluated.

返回值

Returns TRUE if var is a native binary string, FALSE otherwise.

参见

is_buffer()
is_string()
is_unicode()