Skip to content

Instantly share code, notes, and snippets.

@YurePereira
Created February 7, 2017 21:57
Show Gist options
  • Select an option

  • Save YurePereira/d4c7406d83b5b0b08c653f1e5ecd554b to your computer and use it in GitHub Desktop.

Select an option

Save YurePereira/d4c7406d83b5b0b08c653f1e5ecd554b to your computer and use it in GitHub Desktop.
Obtendo a quantidade de elementos existentes em um Array
<?php
$myNumericArray = array(11, 232, 43, 45, 10);
echo count($myNumericArray);//Print: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment