Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

is_array Php

<?php
$yes = array('this', 'is', 'an array');

echo is_array($yes) ? 'Array' : 'not an Array';
echo "
";

$no = 'this is a string';

echo is_array($no) ? 'Array' : 'not an Array';
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #Php
ADD COMMENT
Topic
Name
8+5 =