tryphp_func_var_is_iterable.php:
"; $b = array("red", "green", "blue"); echo "b is " . is_iterable($b) . "
"; $c = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); echo "c is " . is_iterable($c) . "
"; $d = [1, 2, 3]; echo "d is " . is_iterable($d) . "
"; ?>
a is
b is 1
c is 1
d is 1