Skip to content

Instantly share code, notes, and snippets.

@fabioluciano
Created January 30, 2012 21:19
Show Gist options
  • Save fabioluciano/1706774 to your computer and use it in GitHub Desktop.
Save fabioluciano/1706774 to your computer and use it in GitHub Desktop.
<?php
$array = [
'isto', 'eh', 'um', 'array', 'com', 'varios', 'itens', 'e', 'indice', 'numerico'
];
echo implode(' ', $array);
//output: isto eh um array com varios itens e indice numerico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment