<?php $a = array(1,'as',3); $string = current($a); $i = 0; while(next($a) && strlen($string.current($a)) < 3){ $string .= current($a); } echo $string;
You have javascript disabled. You will not be able to edit any code.