Home
/
Snippets
/ PHP: get array length
»
Home
»
Articles
»
Resources
»
Snippets
PHP: get array length
<?php $a = array('a', 'b', 'c', 'd', 'e'); $len = count($a); // $len equals 5