PDFMerger compatible for PHP5