projects
/
m6w6
/
travis-pecl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
bfc1e6e
)
pass through exact versions
author
Michael Wallner
<mike@php.net>
Fri, 31 Jul 2015 07:18:26 +0000
(09:18 +0200)
committer
Michael Wallner
<mike@php.net>
Fri, 31 Jul 2015 07:18:26 +0000
(09:18 +0200)
php-version.php
patch
|
blob
|
history
diff --git
a/php-version.php
b/php-version.php
index 761f09ab8360708f44d2456cb61478497c063634..8d6e087c2ebea4559f889052f6c0ccd050a0ffc3 100644
(file)
--- a/
php-version.php
+++ b/
php-version.php
@@
-7,4
+7,6
@@
list($major) = explode(".", $version, 2);
if (isset($versions[$major][$version])) {
printf("%s\n", $versions[$major][$version]["version"]);
+} else {
+ printf("%s\n", $version);
}