com web/php: Bye bye PHP 5: include/releases.inc include/version.inc releases/index.php
| From: | Christoph Michael Becker | Date: | Thu, 31 Jan 2019 14:45:22 +0000 |
| Subject: | com web/php: Bye bye PHP 5: include/releases.inc include/version.inc releases/index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27736@lists.php.net to get a copy of this message | ||
Commit: b8b8f3dfa04efa4b253498dcf9cfa5c24d2ad6e4
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 31 Jan 2019 15:43:24 +0100
Parents: 27160d28ecc8ee925c39ed4d318c49410c44238d
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=b8b8f3dfa04efa4b253498dcf9cfa5c24d2ad6e4
Log:
Bye bye PHP 5
Changed paths:
M include/releases.inc
M include/version.inc
M releases/index.php
Diff:
diff --git a/include/releases.inc b/include/releases.inc
index 049017a..26de788 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2480,6 +2480,39 @@ $OLDRELEASES = array (
),
5 =>
array (
+ '5.6.40' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/5_6_40.php',
+ ),
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-5.6.40.tar..bz2',
+ 'name' => 'PHP 5.6.40 (tar.bz2)',
+ 'sha256' =>
'ffd025d34623553ab2f7fd8fb21d0c9e6f9fa30dc565ca03a1d7b763023fba00',
+ 'date' => '10 Jan 2019',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-5.6.40.tar.gz',
+ 'name' => 'PHP 5.6.40 (tar.gz)',
+ 'sha256' =>
'56fb9878d12fdd921f6a0897e919f4e980d930160e154cbde2cc6d9206a27cac',
+ 'date' => '10 Jan 2019',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-5.6.40.tar.xz',
+ 'name' => 'PHP 5.6.40 (tar.xz)',
+ 'sha256' =>
'1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c',
+ 'date' => '10 Jan 2019',
+ ),
+ ),
+ 'date' => '10 Jan 2019',
+ 'museum' => false,
+ ),
'5.6.39' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 143425f..99b0815 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -51,18 +51,6 @@ $PHP_7_1_SHA256 = array(
'tar.xz' =>
'10b7ae634c12852fae52a22dc2262e5f12418ad59fd20da2d00d71a212235d31',
);
-/* PHP 5.6 Release */
-$PHP_5_6_RC = false; // Current RC version (e.g., '5.6.7RC1') or false
-$PHP_5_6_RC_DATE = "05 Jan 2017";
-
-$PHP_5_6_VERSION = "5.6.40";
-$PHP_5_6_DATE = "10 Jan 2019";
-$PHP_5_6_SHA256 = array(
- "tar.bz2" =>
"ffd025d34623553ab2f7fd8fb21d0c9e6f9fa30dc565ca03a1d7b763023fba00",
- "tar.gz" =>
"56fb9878d12fdd921f6a0897e919f4e980d930160e154cbde2cc6d9206a27cac",
- "tar.xz" =>
"1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c",
-);
-
$RELEASES = array(
7 => array(
$PHP_7_3_VERSION => array(
@@ -135,37 +123,8 @@ $RELEASES = array(
),
),
),
- 5 => array(
- $PHP_5_6_VERSION => array(
- "announcement" => true,
- "source" => array(
- array(
- "filename" => "php-$PHP_5_6_VERSION.tar.bz2",
- "name" => "PHP $PHP_5_6_VERSION (tar.bz2)",
- "sha256" => $PHP_5_6_SHA256["tar.bz2"],
- "date" => $PHP_5_6_DATE,
- ),
- array(
- "filename" => "php-$PHP_5_6_VERSION.tar.gz",
- "name" => "PHP $PHP_5_6_VERSION (tar.gz)",
- "sha256" => $PHP_5_6_SHA256["tar.gz"],
- "date" => $PHP_5_6_DATE,
- ),
- array(
- "filename" => "php-$PHP_5_6_VERSION.tar.xz",
- "name" => "PHP $PHP_5_6_VERSION (tar.xz)",
- "sha256" => $PHP_5_6_SHA256["tar.xz"],
- "date" => $PHP_5_6_DATE,
- ),
- ),
- ),
- ),
);
-$PHP_5_VERSION = $PHP_5_6_VERSION; // Some scripts require this set
-$PHP_5_DATE = $PHP_5_6_DATE; // Used by bumpRelease script
-$PHP_5_RC_DATE = $PHP_5_6_RC_DATE; // Used by master
-
$PHP_7_VERSION = $PHP_7_3_VERSION; // Some scripts require this set
$PHP_7_DATE = $PHP_7_3_DATE; // Used by bumpRelease script
$PHP_7_RC_DATE = $PHP_7_3_RC_DATE; // Used by master
diff --git a/releases/index.php b/releases/index.php
index b04f5ee..807fc7e 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -4,8 +4,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER["DOCUMENT_ROOT"] . "/include/branches.inc";
if (isset($_GET["serialize"]) || isset($_GET["json"])) {
- $RELEASES[5][$PHP_5_6_VERSION]["date"] = $PHP_5_6_DATE;
- $RELEASES = $RELEASES + $OLDRELEASES;
+ $RELEASES = $RELEASES + $OLDRELEASES;
$machineReadable = array();