<?php
$meuArray = array( 1, 2, 3 ); $result="";
foreach( $meuArray as $valor ) {
$result .= $valor;
}
echo $result; // 123
PD9waHAKCgkkbWV1QXJyYXkgPSBhcnJheSggMSwgMiwgMyApOwogICAgJHJlc3VsdD0iIjsKCWZvcmVhY2goICRtZXVBcnJheSAgYXMgICR2YWxvciApIHsKCQkkcmVzdWx0IC49ICR2YWxvcjsKCX0KCWVjaG8gJHJlc3VsdDsgLy8gMTIz