Lines Matching refs:infos
464 * Pack a new phar infos
1074 * Get the command stub infos.
1474 $infos = array();
1477 $infos['Alias'] = $phar->getAlias();
1481 $infos['Hash-type'] = 'NONE';
1483 $infos['Hash-type'] = $hash['hash_type'];
1484 $infos['Hash'] = $hash['hash'];
1517 $infos['Entries'] = $count;
1518 $infos['Uncompressed-files'] = $ucount;
1519 $infos['Compressed-files'] = $ccount;
1520 $infos['Compressed-gz'] = $compalg['GZ'];
1521 $infos['Compressed-bz2'] = $compalg['BZ2'];
1522 $infos['Uncompressed-size'] = $usize;
1523 $infos['Compressed-size'] = $csize;
1524 $infos['Compression-ratio'] = sprintf('%.3g%%', $usize ? ($csize * 100) / $usize : 100);
1525 $infos['Metadata-global'] = $phar->hasMetadata() * 1;
1526 $infos['Metadata-files'] = $mcount;
1527 $infos['Stub-size'] = strlen($phar->getStub());
1530 if (!isset($infos[$index])) {
1534 echo $infos[$index];
1539 foreach($infos as $which => $val) {
1543 foreach($infos as $which => $val) {