com web/php: Announce PHP 8.0.0: archive/archive.xml archive/entries/2020-11-26-3.xml include/version.inc releases/8_0_0.php
| From: | Sara Golemon | Date: | Thu, 26 Nov 2020 13:24:02 +0000 |
| Subject: | com web/php: Announce PHP 8.0.0: archive/archive.xml archive/entries/2020-11-26-3.xml include/version.inc releases/8_0_0.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28908@lists.php.net to get a copy of this message | ||
Commit: 8257215765a0eca5ae2c4c75eb78acaeaeec04b0
Author: Sara Golemon <pollita@php.net> Thu, 26 Nov 2020 13:07:05 +0000
Parents: ee247fcce3f7bed4c76e972e5fffa9d6c8895457
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=8257215765a0eca5ae2c4c75eb78acaeaeec04b0
Log:
Announce PHP 8.0.0
Changed paths:
M archive/archive.xml
A archive/entries/2020-11-26-3.xml
M include/version.inc
A releases/8_0_0.php
Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index f2395daa9..666e3cd0b 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php-webmaster@lists.php.net</email>
</author>
+ <xi:include href="entries/2020-11-26-3.xml"/>
<xi:include href="entries/2020-11-26-2.xml"/>
<xi:include href="entries/2020-11-26-1.xml"/>
<xi:include href="entries/2020-11-23-1.xml"/>
diff --git a/archive/entries/2020-11-26-3.xml b/archive/entries/2020-11-26-3.xml
new file mode 100644
index 000000000..121f0a7ea
--- /dev/null
+++ b/archive/entries/2020-11-26-3.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title>PHP 8.0.0 Released!</title>
+ <id>https://www.php.net/archive/2020.php#2020-11-26-3</id>
+ <published>2020-11-26T13:07:59+00:00</published>
+ <updated>2020-11-26T13:07:59+00:00</updated>
+ <link href="https://www.php.net/index.php#id2020-11-26-3"
rel="alternate" type="text/html"/>
+ <link href="https://www.php.net/archive/2020.php#2020-11-26-3"
rel="via" type="text/html"/>
+ <category term="releases" label="New PHP release"/>
+ <category term="frontpage" label="PHP.net frontpage news"/>
+ <content type="xhtml">
+ <div xmlns="http://www.w3.org/1999/xhtml">
+<p>The PHP development team announces the immediate availability of PHP 8.0.0. This release
marks the latest major release of the PHP language.</p>
+
+<p>PHP 8.0 comes with numerous improvements and new features such as:</p>
+<ul>
+ <li>Union Types</li>
+ <li>Named Arguments</li>
+ <li>Match Expressions</li>
+ <li>Attributes</li>
+ <li>Constructor Property Promotion</li>
+ <li>Nullsafe Operator</li>
+ <li>Weak Maps</li>
+ <li>Just In Time Compilation</li>
+ <li>And much much more...</li>
+</ul>
+
+<p>Take a look at the <a href="https://www.php.net/releases/8.0/">PHP
8.0 Announcement Addendum</a> for more information.</p>
+
+<p>For source downloads of PHP 8.0.0 please visit our <a href="https://www.php.net/downloads.php">downloads
page</a>,
+Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>..
+The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.0.0">ChangeLog</a>.
+</p>
+
+<p>The <a href="http://php.net/manual/en/migration80.php">migration
guide</a> is available in the PHP Manual.
+Please consult it for the detailed list of new features and backward incompatible
changes.</p>
+
+<p>Many thanks to all the contributors and supporters!</p>
+ </div>
+ </content>
+</entry>
diff --git a/include/version.inc b/include/version.inc
index da6f2f4f8..931b8808b 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -16,6 +16,16 @@
* );
*/
$RELEASES = (function() {
+ /* PHP 8.0 Release */
+ $PHP_8_0_VERSION = "8.0.0";
+ $PHP_8_0_DATE = "26 Nov 2020";
+ $PHP_8_0_TAGS = []; // Set to ['security'] for security releases.
+ $PHP_8_0_SHA256 = array(
+ "tar.gz" =>
"3ed7b48d64357d3e8fa9e828dbe7416228f84105b8290c2f9779cd66be31ea71",
+ "tar.bz2" =>
"5e832dc37eabf444410b4ea6fb3d66b72e44e7407a3b49caa5746edcf71b9d09",
+ "tar.xz" =>
"b5278b3eef584f0c075d15666da4e952fa3859ee509d6b0cc2ed13df13f65ebb",
+ );
+
/* PHP 7.4 Release */
$PHP_7_4_VERSION = "7.4.13";
$PHP_7_4_DATE = "26 Nov 2020";
@@ -47,6 +57,33 @@ $RELEASES = (function() {
);
return array(
+ 8 => array(
+ $PHP_8_0_VERSION => array(
+ "announcement" => true,
+ "tags" => $PHP_8_0_TAGS,
+ "date" => $PHP_8_0_DATE,
+ "source" => array(
+ array(
+ "filename" => "php-$PHP_8_0_VERSION.tar.bz2",
+ "name" => "PHP $PHP_8_0_VERSION (tar.bz2)",
+ "sha256" => $PHP_8_0_SHA256["tar.bz2"],
+ "date" => $PHP_8_0_DATE,
+ ),
+ array(
+ "filename" => "php-$PHP_8_0_VERSION.tar.gz",
+ "name" => "PHP $PHP_8_0_VERSION (tar.gz)",
+ "sha256" => $PHP_8_0_SHA256["tar.gz"],
+ "date" => $PHP_8_0_DATE,
+ ),
+ array(
+ "filename" => "php-$PHP_8_0_VERSION.tar.xz",
+ "name" => "PHP $PHP_9_0_VERSION (tar.xz)",
+ "sha256" => $PHP_8_0_SHA256["tar.xz"],
+ "date" => $PHP_8_0_DATE,
+ ),
+ ),
+ ),
+ ),
7 => array(
$PHP_7_4_VERSION => array(
"announcement" => true,
diff --git a/releases/8_0_0.php b/releases/8_0_0.php
new file mode 100644
index 000000000..ec9226195
--- /dev/null
+++ b/releases/8_0_0.php
@@ -0,0 +1,35 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8.0.0.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.0.0 Release Announcement');
+?>
+<h1>PHP 8.0.0 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.0.0. This release
marks the latest major release of the PHP language.</p>
+
+<p>PHP 8.0 comes with numerous improvements and new features such as:</p>
+<ul>
+ <li>Union Types</li>
+ <li>Named Arguments</li>
+ <li>Match Expressions</li>
+ <li>Attributes</li>
+ <li>Constructor Property Promotion</li>
+ <li>Nullsafe Operator</li>
+ <li>Weak Maps</li>
+ <li>Just In Time Compilation</li>
+ <li>And much much more...</li>
+</ul>
+
+<p>Take a look at the <a href="https://www..php.net/releases/8.0/">PHP
8.0 Announcement Addendum</a> for more information.</p>
+
+<p>For source downloads of PHP 8.0.0 please visit our <a href="https://www.php.net/downloads.php">downloads
page</a>,
+Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
+The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.0.0">ChangeLog</a>.
+</p>
+
+<p>The <a href="http://php.net/manual/en/migration80.php">migration
guide</a> is available in the PHP Manual.
+Please consult it for the detailed list of new features and backward incompatible
changes.</p>
+
+<p>Many thanks to all the contributors and supporters!</p>
+
+<?php site_footer();