fork download
  1. <?php
  2.  
  3. $string="array.jpg,teste.pdf,word.docx";
  4. $count=explode(",", $string);
  5.  
  6. foreach($count as $arquivo){
  7. echo $arquivo;
  8. }
Success #stdin #stdout 0.02s 23896KB
stdin
Standard input is empty
stdout
array.jpgteste.pdfword.docx