Menu Samaritan's Purse

IS_ARRAY

Finds whether a variable is an array

SYNTAX

is_array ( mixed $var ) : bool

PARAMETERS

var

The variable being evaluated.

RETURN

Returns TRUE if var is an array, FALSE otherwise.

EXAMPLES

1

1

2

1

PHP