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