$Cars = array("Volswagen" => "Polo",array("Mitubisi","Toyota","BMW","Lada","Opel"),"Land Rover" => "Defender","Mercedes" => "Cla","Bugatti" => "Veyron" );
echo "<pre>";
print_r($Cars);
echo "<pre />";
$NormalAndRecursiveCount = count($Cars, COUNT_RECURSIVE);
echo "Normal + Recursive Count : " . $NormalAndRecursiveCount;
$Cars = array("Volswagen" => "Polo",array("Mitubisi","Toyota","BMW","Lada","Opel"),"Land Rover" => "Defender","Mercedes" => "Cla","Bugatti" => "Veyron" );
echo "<pre>";
print_r($Cars);
echo "<pre />";
$NormalAndRecursiveCount = count($Cars, 1);
echo "Normal + Recursive Count : " . $NormalAndRecursiveCount;
Is it okay to use 1 instead of COUNT RECURSIVE when printing the number of all values when getting the number in the array?
Is 1 more appropriate or COUNT_RECURSIVE?