<?php
$string="array.jpg,teste.pdf,word.docx";
foreach($count as $arquivo){
echo $arquivo;
}
PD9waHAKCiRzdHJpbmc9ImFycmF5LmpwZyx0ZXN0ZS5wZGYsd29yZC5kb2N4IjsKJGNvdW50PWV4cGxvZGUoIiwiLCAkc3RyaW5nKTsKCmZvcmVhY2goJGNvdW50IGFzICRhcnF1aXZvKXsgCiAgIGVjaG8gJGFycXVpdm87Cn0=