PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular

is_array

Tags: PHP 5.x PHP 7.x PHP 8.x

is_array — Finds whether a variable is an array.

Description

is_array(
    mixed $value
): bool
Finds whether the given variable is an array.

Parameters

value
The variable being evaluated

Return Values

Returns true if value is an array, false otherwise.