PrimitiveType

PHP: get array length

<?php $a = array('a', 'b', 'c', 'd', 'e'); $len = count($a); // $len equals 5