Skip to content

Commit

Permalink
Output version specs during PHP comparison run
Browse files Browse the repository at this point in the history
  • Loading branch information
mneudert committed Aug 16, 2024
1 parent a367c00 commit 2f939e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ext/version_compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
foreach ($specs as $spec) {
[$v1, $op, $v2] = explode(" ", trim($spec));

echo "Compare: {$v1} {$op} {$v2}" . PHP_EOL;

if (version_compare($v1, $v2, $op)) {
continue;
}
Expand Down

0 comments on commit 2f939e4

Please sign in to comment.