<?php
$string="array.jpg,teste.pdf,word.docx";
for($i = 0; $i < count($count); $i++){ echo $count[$i];
}
PD9waHAKCiRzdHJpbmc9ImFycmF5LmpwZyx0ZXN0ZS5wZGYsd29yZC5kb2N4IjsKJGNvdW50PWV4cGxvZGUoIiwiLCAkc3RyaW5nKTsKCmZvcigkaSA9IDA7ICRpIDwgY291bnQoJGNvdW50KTsgJGkrKyl7IAogICBlY2hvICRjb3VudFskaV07Cn0=