Skip to content

Instantly share code, notes, and snippets.

@marciojrtorres
Created August 5, 2013 20:28
Show Gist options
  • Save marciojrtorres/6159321 to your computer and use it in GitHub Desktop.
Save marciojrtorres/6159321 to your computer and use it in GitHub Desktop.
Na linguagem PHP a função count conta o número de elemento em um array
$elementos = array("a", "b", "c");
print count($elementos); // imprime 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment