is_array() in php
Hi Friend,
This function is of Boolean type.It checks whether a variable is an array or not.
Here is an example:
<?php
$yes = array('Hello', 'World');
echo is_array($yes) ? 'Array' : 'not an Array';
echo "\n";
$no = 'Hell World';
echo is_array($no) ? 'Array' : 'not an Array';
?>
Thanks