is_array
is_array — Finds whether a variable is an array.Description
is_array( mixed $value ): boolFinds whether the given variable is an array.
Parameters
value
The variable being evaluated
Return Values
Returns true if value is an array, false otherwise.More information about is_array on official PHP documentation site
is_array - Popular snippets
- PHP 8.1 / MySQL 5.7 file_get_contents simplexml_load_string json_encode json_decode is_array in_array end
last run:
2023-11-12 20:48:05
13
- PHP 8.0 / MariaDB 10 printf phpversion is_array array_push var_export
last run:
2023-07-13 14:51:43
11
- PHP 8.1 / MySQL 5.7 file_get_contents simplexml_load_string json_encode json_decode print_r array_count_values is_array in_array end
last run:
2023-11-01 18:08:32
9
- PHP 7.4 / MySQL 5.7 array_reduce is_array array_merge unserialize array_count_values
last run:
2021-10-19 17:22:40
9
- PHP 8.1 / MySQL 5.7 file_get_contents simplexml_load_string json_encode json_decode is_array print_r
last run:
2024-01-24 17:44:27
8
- PHP 8.1 / MySQL 5.7 file_get_contents json_decode is_array
last run:
2023-12-08 17:52:00
8
- PHP 8.2.13 / MySQL 5.7 file_get_contents json_decode is_array mb_substr
last run:
2024-01-10 17:52:19
7
- PHP 8.1 / MySQL 5.7 file_get_contents simplexml_load_string json_encode json_decode print_r array_count_values is_array end
last run:
2023-11-01 18:11:33
6
- PHP 8.1 / MySQL 5.7 file_get_contents simplexml_load_string json_encode json_decode print_r is_array
last run:
2023-11-01 18:03:46
6
- PHP 8.1 / MySQL 5.7 array_sum is_array
last run:
2022-08-31 16:52:07
6
is_array - New snippets
-
PHP 8.1 / MariaDB 11.4 file_get_contents simplexml_load_string json_encode json_decode is_array stripos
added at:
2024-10-09 16:37:12
1
-
PHP 8.1 / MariaDB 11.4 file_get_contents simplexml_load_string json_encode json_decode is_array stripos
added at:
2024-10-09 16:36:24
1
-
PHP 8.1 / MariaDB 11.4 file_get_contents simplexml_load_string json_encode json_decode is_array stripos
added at:
2024-10-09 16:36:17
1
-
PHP 8.1 / Oracle Database 21c file_get_contents simplexml_load_string json_encode json_decode count is_array
added at:
2024-10-04 16:41:10
1
-
PHP 8.1 / Oracle Database 21c file_get_contents simplexml_load_string json_encode json_decode count is_array print_r
added at:
2024-10-04 16:39:12
1
-
PHP 8.1 / Oracle Database 21c count is_array print_r
added at:
2024-10-04 16:36:52
1
-
PHP 8.1 / Oracle Database 21c file_get_contents simplexml_load_string json_encode json_decode count is_array
added at:
2024-10-04 16:36:07
1
-
PHP 8.1 / Oracle Database 21c count is_array print_r
added at:
2024-10-04 16:35:51
1
-
PHP 8.1 / Oracle Database 21c file_get_contents simplexml_load_string json_encode json_decode is_array
added at:
2024-10-04 16:30:37
2
-
PHP 8.1 / Oracle Database 21c simplexml_load_string json_encode json_decode is_array print_r
added at:
2024-10-04 16:28:49
1