is_array

PHP 4, PHP 5, PHP 7, PHP 8
is_array - Finds whether a variable is an array
Manual
Code Examples

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.

Related Functions

Example of is_array

Show all examples for is_array

PHP Version:


Function is_array:

Variable handling Functions

Most used PHP functions