fork download
  1. <?php
  2.  
  3. $arr = range(1,6);
  4. $str = '';
  5. foreach($arr as $item){
  6. $str .= ' '.$item;
  7. }
  8.  
  9. echo $str;
  10.  
  11.  
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
 1 2 3 4 5 6