JavaScript Editor Javascript debugger     Website design 

is_buffer

Finds whether a variable is a native unicode or binary string ()
bool is_buffer ( mixed var )

Finds whether the given variable is a native unicode or binary string.

Parameters

var

The variable being evaluated.

Return Values

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