YouTip LogoYouTip

Php Is_Array Function

# PHP is_array() Function [![Image 3: PHP Available Functions](#)PHP Available Functions](#) The **is_array()** function is used to check whether a variable is an array. PHP Version Requirement: PHP 4, PHP 5, PHP 7 ### Syntax bool is_array ( mixed $var ) Parameter Description: * $var: The variable to check. ### Return Value Returns TRUE if the checked variable is an array, otherwise returns FALSE. ### Example ## Example The output is: Variable $arr_site is an array [![Image 4: PHP Available Functions](#)PHP Available Functions](#)
← Php Is_Callable FunctionPhp Import_Request_Variables F β†’