View Single Post
  #25 (permalink)  
Old 10-16-2007, 04:20 AM
vims vims is offline
D-Web Programmer
 
Join Date: Oct 2007
Posts: 67
vims is on a distinguished road
Post Re: string functions and manipulations in php

Let us discuss about the function is_array()

is_array() - Check whether the given variable is an array

Syntax:
bool is_array ( mixed var )
Example:
$arrColor = array('Red', 'Blue', 'Green');
echo is_array($arrColor) ? 'It is an array' : 'It is not an array';

Output: It is an array
Reply With Quote