make optically consistent
authorMichael Wallner <mike@php.net>
Tue, 20 Feb 2018 13:08:59 +0000 (14:08 +0100)
committerMichael Wallner <mike@php.net>
Tue, 20 Feb 2018 13:09:53 +0000 (14:09 +0100)
php-version-url-dist.php
php-version-url-qa.php
php-version.php

index f44e178b6b8179f800da60604e616d1b19151bf1..e39e7e7ffcd28bcaa7e5d9758adcf317ed4eddf9 100755 (executable)
@@ -1,9 +1,15 @@
 #!/usr/bin/env php
 <?php
 
+
 $versions = @json_decode(stream_get_contents(STDIN), 1);
 $mirror = getenv("PHP_MIRROR");
 
+
+
+
+
+
 $by_minor = array();
 # build the tree of latest versions per minor
 if (!empty($versions) && !isset($versions["error"])) {
@@ -19,5 +25,6 @@ if (!empty($versions) && !isset($versions["error"])) {
 }
 
 foreach ($by_minor as $v => $r) {
-       printf("%s\t%s\tcurl -sS %s%s | tar xj\n", $v, $r, $mirror, $versions[$r]["source"][0]["filename"]);
+       printf("%s\t%s\tcurl -sS %s%s | tar xj\n", $v, $r, $mirror,
+                       $versions[$r]["source"][0]["filename"]);
 }
index 024c48839fda1d8510d7e2697ccc5a48d283e739..dfa5ca4b7f8bdac17d376b3b99b5bfbf6f68e9ac 100755 (executable)
@@ -4,6 +4,12 @@
 
 $versions = @json_decode(stream_get_contents(STDIN), 1);
 
+
+
+
+
+
+
 $by_minor = array();
 # build the tree of latest versions per minor
 if (!empty($versions) && !isset($versions["error"]) && isset($versions["releases"])) {
index 75173db05e96f6754afddaef660972a2ceddfe70..8fa04acf378d82643362d54af092b2c9163534f8 100755 (executable)
@@ -33,13 +33,19 @@ if (isset($by_minor[$version])) {
                print("5.4.45\n");
                break;
        case "5.5":
-               print("5.5.31\n");
+               print("5.5.37\n");
                break;
        case "5.6":
-               print("5.6.17\n");
+               print("5.6.33\n");
                break;
        case "7.0":
-               printf("7.0.2\n");
+               print("7.0.27\n");
+               break;
+       case "7.1":
+               print("7.1.14\n");
+               break;
+       case "7.2":
+               print("7.2.2\n");
                break;
        case "master":
                print("master\n");