mirror of
https://github.com/php/php-src.git
synced 2024-10-13 20:42:38 +00:00
615f110d4e
etc. is done for both in pearcmd-common.php.
9 lines
194 B
PHP
9 lines
194 B
PHP
<?php
|
|
|
|
$parser = new PEAR_Common;
|
|
$parser->setErrorHandling(PEAR_ERROR_DIE, "pear info: %s\n");
|
|
$info = $parser->infoFromTgzFile($cmdargs[0]);
|
|
unset($info['filelist']);
|
|
present_array($info);
|
|
|
|
?>
|