Skip to content

Instantly share code, notes, and snippets.

@fabioluciano
Created January 30, 2012 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabioluciano/1706740 to your computer and use it in GitHub Desktop.
Save fabioluciano/1706740 to your computer and use it in GitHub Desktop.
<?php
$array = [
'isto', 'eh', 'um', 'array', 'com', 'varios', 'itens', 'e', 'indice', 'numerico'
];
print_r($array);
/* output
Array
(
[0] => isto
[1] => eh
[2] => um
[3] => array
[4] => com
[5] => varios
[6] => itens
[7] => e
[8] => indice
[9] => numerico
)
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment