php class is used instead of pdftotext