<!DOCTYPE html>
<html>
<body>
<?php
$a=array("maruti"=>"suzuki","honda"=>"unicorn",array("pulsar","hero". ;
echo count($a,1);
?>
</body>
</html>
Read more: In the following php code,why output is 5? There are 4 array elements. Is't it?