PHP developers use the is_array() function to determine whether a variable is an array or not. It is available for only PHP 4 and above versions.

BY Best Interview Question ON 06 Jul 2020

Example

is_array (var_name)
$var = ['Best', 'Interview', 'Questions'];
if(is_array ($var)) {
     // True
}