com web/php: JS-13812 Develop markup for PHP 8 announcement on php.net: php8.php
| From: | Sara Golemon | Date: | Wed, 25 Nov 2020 20:28:13 +0000 |
| Subject: | com web/php: JS-13812 Develop markup for PHP 8 announcement on php.net: php8.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28890@lists.php.net to get a copy of this message | ||
Commit: 1e7814bf341464e060163cbdcbcd272ba7d6702d
Author: Ruslan <naruzl@yandex.ru> Sun, 8 Nov 2020 15:36:36 +0300
Committer: Sara Golemon <pollita@php.net> Wed, 25 Nov 2020 20:28:13 +0000
Parents: c7d2c992e920d2696cb8723cfc335f61c0f4a576
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=1e7814bf341464e060163cbdcbcd272ba7d6702d
Log:
JS-13812 Develop markup for PHP 8 announcement on php.net
Changed paths:
M php8.php
Diff:
diff --git a/php8.php b/php8.php
index 386ea9b72..4ad0889e1 100644
--- a/php8.php
+++ b/php8.php
@@ -2,7 +2,7 @@
$_SERVER['BASE_PAGE'] = 'php8..php';
include_once __DIR__ . '/include/prepend.inc';
-site_header("PHP 8", array("current" => "php8", 'css'
=> array('php8.css')));
+site_header("PHP 8.0", array("current" => "php8", 'css'
=> array('php8.css')));
?>
<section class="php8-section php8-section_dark php8-section_header center">
<div class="php8-section__content">
@@ -254,7 +254,7 @@ if ($session !== null) {
<div class="php8-compare__block example-contents">
<div class="php8-compare__label">PHP 7</div>
<div class="php8-code phpcode">
-<pre>\t\t strlen([]); // Warning: strlen() expects parameter 1 to be string, array given
+<pre>strlen([]); // Warning: strlen() expects parameter 1 to be string, array given
array_chunk([], -1); // Warning: array_chunk(): Size parameter expected to be greater than
0</pre>
</div>