KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How does the count function work with arrays, like the one below? My thought would be that the following code outputs 4, because there are four elements there: $a = array ( "1" => "A", 1 => "B", "C", 2 => "D" ); echo count($a);
Tags (comma-separated)
Save Edits
Cancel