mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
c0d82e966f
into 2 methods: convertToExecutable/convertToData. Both methods accept 3 optional parameters 1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP 2 compression Phar::NONE, Phar::GZ, or Phar::BZ2 3 file extension. Default is <format>.<compression> where .phar.tar is executable .tar convertToExecutable always returns a Phar object convertToData always returns a PharData object also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants [DOC]