PHP also has functions for extracting phar archives, but files retain the current compression. To properly extract the archive, you must first convert it to an uncompressed format, and then extract it:
<?php $phar = new Phar('Someclass.phar'); $phar2 = $phar->convertToExecutable (Phar::TAR,Phar::NONE);
This will give you all the files without compression!
Josef Jun 17 '15 at 12:37 2015-06-17 12:37
source share