Commit: 1e7814bf341464e060163cbdcbcd272ba7d6702d Author: Ruslan <nar...@yandex.ru> Sun, 8 Nov 2020 15:36:36 +0300 Committer: Sara Golemon <poll...@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> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php