From c5bf6e8cc4b7e5351c34a4c76a791ad886e443bf Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 28 May 2007 16:00:41 +0000 Subject: [PATCH] - Add 'Stub-size' to info command --- ext/phar/phar/pharcommand.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index e8768c9ed6..4497802a75 100755 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -1331,6 +1331,7 @@ class PharCommand extends CLICommand $infos['Compression-ratio'] = sprintf('%.3g%%', ($csize * 100) / $usize); $infos['Metadata-global'] = $phar->hasMetadata() * 1; $infos['Metadata-files'] = $mcount; + $infos['Stub-size'] = strlen($phar->getStub()); if (isset($index)) { if (!isset($infos[$index])) { -- 2.50.1