is_array

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

Example #1 Check that variable is an array

Result: Array not an Array
PHP Version: