SHARING MY KNOWLEDGE
<?php$myA[0] = 12;$myA[1] = 8;$myA[2] = 20;$arr_size = count($myA);echo $arr_size; // 3//you can also use sizeof()//sizeof() is a alias for count()$arr_size2 = sizeof($myA);echo $arr_size2; // 3?>
No comments:
Post a Comment