Code: Select all
$var = array('test' =>
array('sub1', 'sub2', 'sub3'),
'test1' =>
array('sub1', 'sub2'),
'test2');the size of the sub array? i.e: how do I get that the sub array
of $var[test] is equal to 3 and that the size of the sub array
$var[test1] is equal to 2?
Thanks