Commit:    464b8083b63c43a5b2691560b2dca360e5b711cf
Author:    Christoph M. Becker <[email protected]>         Wed, 17 Apr 2019 
19:07:23 +0200
Parents:   ec97ed043d226d853e6612ed2ff762734314d8d5
Branches:  master

Link:       
http://git.php.net/?p=web/windows.git;a=commitdiff;h=464b8083b63c43a5b2691560b2dca360e5b711cf

Log:
PHP 5.6 and 7.0 have reached their end-of-live

No need to list them anymore.

Changed paths:
  M  docroot/listing.php
  M  include/listing.php
  M  script/generate_snap_page.php
  M  templates/left_column.php
  M  templates/snaps.php


Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 0a0374d..2ddc27d 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -36,20 +36,8 @@ include __DIR__ . '/../include/listing.php';
 $baseurl = '/' . $dir_to_parse . '/';
 
 $versions = generate_listing($dir_to_parse, $nmode);
-$major_order = array('7.4', '7.3', '7.2', '7.1', '7.0', '5.6');
+$major_order = array('7.4', '7.3', '7.2', '7.1');
 $minor_order = array(
-               '5.6' => array(
-                       'nts-VC11-x64',
-                       'ts-VC11-x64',
-                       'nts-VC11-x86',
-                       'ts-VC11-x86'
-               ),
-               '7.0' => array(
-                       'nts-VC14-x64',
-                       'ts-VC14-x64',
-                       'nts-VC14-x86',
-                       'ts-VC14-x86'
-               ),
                '7.1' => array(
                        'nts-VC14-x64',
                        'ts-VC14-x64',
@@ -168,11 +156,6 @@ if (isset($versions[$major]['test_pack'])) {
                <span class="corners-top"><span></span></span>
 
                <h4 id="php-<?php echo $major . '-' . $minor; ?>" 
name="php-<?php echo $major . '-' . $minor;?>"><?php echo $labels[$minor]; ?> 
(<?php echo $versions[$major][$minor]['mtime']; ?>)</h4>
-               <?php
-                       if ((strcmp($major, '5.5') == 0 || strcmp($major, 
'5.6') == 0) && strstr($labels[$minor], 'x64')) {
-                               echo '<strong>Note:</strong> x64 builds are 
currently <a href="#x64"><strong>experimental</strong></a>';
-                       }
-               ?>
                <p>
                <ul>
                <li>
diff --git a/include/listing.php b/include/listing.php
index dc0c00d..0e0888a 100644
--- a/include/listing.php
+++ b/include/listing.php
@@ -99,9 +99,9 @@ function generate_listing($path, $nmode) {
        $old_cwd = getcwd();
        chdir($path);
 
-       $versions = glob('php-[567].*[0-9]-latest.zip');
+       $versions = glob('php-[67].*[0-9]-latest.zip');
        if (empty($versions)) {
-               $versions = glob('php-[567].*[0-9].zip');
+               $versions = glob('php-[67].*[0-9].zip');
        }
 
        $releases = array();
diff --git a/script/generate_snap_page.php b/script/generate_snap_page.php
index acd34be..d010535 100644
--- a/script/generate_snap_page.php
+++ b/script/generate_snap_page.php
@@ -3,7 +3,7 @@
 include __DIR__ . '/../include/config.php';
 
 /* TODO: use exported branches list when available instead */
-$active_branches = array('master', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6');
+$active_branches = array('master', '7.4', '7.3', '7.2', '7.1');
 
 $builds = array(
                'master' => array(
@@ -41,18 +41,6 @@ $builds = array(
                                'nts-windows-vc14-x86',
                                'ts-windows-vc14-x86'
                ),
-               '7.0' => array(
-                               'nts-windows-vc14-x64',
-                               'ts-windows-vc14-x64',
-                               'nts-windows-vc14-x86',
-                               'ts-windows-vc14-x86'
-               ),
-               '5.6' => array(
-                               'nts-windows-vc11-x64',
-                               'ts-windows-vc11-x64',
-                               'nts-windows-vc11-x86',
-                               'ts-windows-vc11-x86'
-                       ),
        );
 
 function parse_meta($path)
diff --git a/templates/left_column.php b/templates/left_column.php
index 515cf0f..28c72a4 100644
--- a/templates/left_column.php
+++ b/templates/left_column.php
@@ -94,7 +94,6 @@ if ((isset($mode) && ($mode == 'snapshots' || $mode == 'qa'))
 
                                                                        <a 
name="x64"> </a>
                                                                        
<h4><u>amd64 (x86_64) Builds</u></h4>
-                                                                       <p> The 
x64 builds of <strong>PHP 5</strong> for Windows are 
<strong>experimental</strong>, and do not provide 64-bit integer or large file 
support.</p>
                                                                        
<p><strong>PHP 7 provides full 64-bit support.</strong> The x64 builds of PHP 7 
support native 64-bit integers, LFS, 64-bit memory_limit and much more.</p>
 
                                                                        <a 
name="long_path"></a>
diff --git a/templates/snaps.php b/templates/snaps.php
index eb51f5c..7ea4649 100644
--- a/templates/snaps.php
+++ b/templates/snaps.php
@@ -1,7 +1,7 @@
 <?php
 include __DIR__ . '/../include/tools.php';
 
-$major_order = array('7.4', '7.3', '7.2', '7.1', '7.0', '5.6', 'master');
+$major_order = array('7.4', '7.3', '7.2', '7.1', '7.0');
 $minor_order = array(
                'master' => array(
                                'nts-windows-vc15-x64',
@@ -38,18 +38,6 @@ $minor_order = array(
                                'nts-windows-vc14-x86',
                                'ts-windows-vc14-x86'
                ),
-               '7.0' => array(
-                               'nts-windows-vc14-x64',
-                               'ts-windows-vc14-x64',
-                               'nts-windows-vc14-x86',
-                               'ts-windows-vc14-x86'
-               ),
-               '5.6' => array(
-                               'nts-windows-vc11-x64',
-                               'ts-windows-vc11-x64',
-                               'nts-windows-vc11-x86',
-                               'ts-windows-vc11-x86'
-                       ),
        );
 
 $labels = array(


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to