Check if variable is an array PHP

> Check if is array
> isArray() method

Description
Finds whether a variable is an array


$arr = array('this', 'is', 'an array');
$val = is_array( $arr ); // true

SEE ALSO