is_array : PHP array function
Posted by Raj
is_array : PHP array function
PHP is_array is used to find whether a variable is an array or not.
Syntax:
bool is_array($arr)
Returns TRUE if $arr is an array, FALSE otherwise.
Example: php is array
<?php
$arr1 = array('A','B');
if(is_array($arr1))
echo 'Array'
else
echo 'Not an Array';
?>
Output :
Array.
PHP is_array is used to find whether a variable is an array or not.
Syntax:
bool is_array($arr)
Returns TRUE if $arr is an array, FALSE otherwise.
Example: php is array
<?php
$arr1 = array('A','B');
if(is_array($arr1))
echo 'Array'
else
echo 'Not an Array';
?>
Output :
Array.
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
is array php,
is_array php,
is_array php function,
php array,
php array element,
php in array,
php is array,
php is in array,
php is_array
.You can leave a response, or trackback from your own site.