bool is_array ( mixed $var )
<?php $a = array("C語言中文網", "PHP教學", "http://c.biancheng.net/php/"); $b = 123; var_dump(is_array($a)); var_dump(is_array($b)); ?>
bool(true) bool(false)