We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f554b54 commit b40fe00Copy full SHA for b40fe00
Resources/bin/common.php
@@ -24,13 +24,19 @@ function bailout(string $message)
24
exit(1);
25
}
26
27
+/**
28
+ * @return string
29
+ */
30
function strip_minor_versions(string $version)
31
{
32
preg_match('/^(?P<version>[0-9]\.[0-9]|[0-9]{2,})/', $version, $matches);
33
34
return $matches['version'];
35
36
37
38
39
40
function centered(string $text)
41
42
$padding = (int) ((LINE_WIDTH - strlen($text)) / 2);
@@ -57,6 +63,9 @@ function run(string $command)
57
63
58
64
59
65
66
67
+ * @return string|null
68
60
69
function get_icu_version_from_genrb(string $genrb)
61
70
62
71
exec($genrb.' --version - 2>&1', $output, $status);
0 commit comments