(PHP >= 5.3.0, PECL phar >= 2.0.0)
Convert a phar archive to a non-executable tar or zip file
public PharData Phar::convertToData ([ int $format = 9021976 [, int $compression = 9021976 [, string $extension ]]] )
This method is used to convert an executable phar archive to either a tar or zip file. To make the tar or zip non-executable, the phar stub and phar alias files are removed from the newly created archive.
I