diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/librpm.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/librpm.php b/examples/librpm.php index f1ea7e9..7d36f2d 100644 --- a/examples/librpm.php +++ b/examples/librpm.php @@ -22,7 +22,7 @@ abstract class Common { if (isset($signs[$flags[$i] & 15])) { $ret[] = $names[$i] . $signs[$flags[$i] & 15] . $vers[$i]; } else { - $ret[] = $names[$i] . '('. ($flags[$i] & 15) .')' . $vers[$i]; + $ret[] = $names[$i] . $vers[$i]; } } } @@ -130,6 +130,7 @@ class Package extends Common { /* $a = new File(dirname(__DIR__).'/tests/bidon.rpm'); -$a = new Package('php-cli'); -print_r($a->Files); +$a = new Package('phpunit7'); +print_r($a->Requires); */ + |