From 4315db7f4f8623ff685cfc06219bd3ed0e66c85b Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sun, 4 Oct 2026 08:01:06 +0300 Subject: [PATCH 01/27] Initial PHP 8.6 release page --- public/images/php8/logo_php8_6.svg | 9 + public/images/php8/php_8_6_released.png | Bin 0 -> 31397 bytes public/releases/8.6/common.php | 62 ++++++ public/releases/8.6/en.php | 5 + public/releases/8.6/index.php | 13 ++ public/releases/8.6/languages/en.php | 41 ++++ public/releases/8.6/release.inc | 276 ++++++++++++++++++++++++ 7 files changed, 406 insertions(+) create mode 100644 public/images/php8/logo_php8_6.svg create mode 100644 public/images/php8/php_8_6_released.png create mode 100644 public/releases/8.6/common.php create mode 100644 public/releases/8.6/en.php create mode 100644 public/releases/8.6/index.php create mode 100644 public/releases/8.6/languages/en.php create mode 100644 public/releases/8.6/release.inc diff --git a/public/images/php8/logo_php8_6.svg b/public/images/php8/logo_php8_6.svg new file mode 100644 index 0000000000..cab6a6b6fe --- /dev/null +++ b/public/images/php8/logo_php8_6.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/images/php8/php_8_6_released.png b/public/images/php8/php_8_6_released.png new file mode 100644 index 0000000000000000000000000000000000000000..fe141d4be434ee001139adec843992ae06d0bba9 GIT binary patch literal 31397 zcmeFZW6+OPWC?6a-X+p+PzXL~^J>De3MQ zI;C@9;#qUu&-4BZ@0a_7zpdzAYwfkpI?m%*etfE_LPc?n0)il_CyyUJgCH{S+jH#X z=fT52zV{3~F1kE^;SNERbi`jIP+~F@_#uh=GZjUsxQBHO{DIW^fyM&}DvhSZniJo@ z?4e}f@!Z+U!^_;w5>mFcb~H~djkACtU-l=D9_V{ICzLa^zD@choF;Cb$u?!0g?m0?t`TV=!S+|6$ohH949(_l-vhF!>` z%2ln_eXVM|h)I*Bt)WONeIhztQ1;qarYa|9_&Q%uNyq`t*CgWn1I<3g44L z{gjkAeyMvJMFxosg1*ixs9IBbZ0*6oZ~cLd5`w_y*rDRYKK5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&=ue#+$QtFVcIsEvcKS7f zB@3o!G{IRWw~|(S%25ncQPWT1!R&!5Uh<#N^kRDU#ovA%l!~w!Ym8QM6Ba}Ey|v2T zV)fr;XVNtYd~_?oV+Ei8oR;^W)AGPD_`h>n-v9o_X zf}bFcV^Pct&)L5^ijy~>zh}dy|ChQ#fho)Ye*)G|;M2x-l6m>hAO0WfoC9|M>3OES d=l}g-$$r#2BDi{e&6xQHT{Sc@DA#w4`5#`70%8CF literal 0 HcmV?d00001 diff --git a/public/releases/8.6/common.php b/public/releases/8.6/common.php new file mode 100644 index 0000000000..f7c81ac60c --- /dev/null +++ b/public/releases/8.6/common.php @@ -0,0 +1,62 @@ + 'English', +]; + +function common_header(string $description): void { + global $MYSITE, $lang; + + $meta_image_path = \htmlspecialchars( + \filter_var($MYSITE . 'images/php8/php_8_6_released.png', \FILTER_VALIDATE_URL)); + $meta_description = \htmlspecialchars($description); + + $languages = []; + foreach (LANGUAGES as $code => $text) { + $languages[] = ['name' => $text, 'selected' => $lang === $code, 'url' => '/releases/8.6/' . $code . '.php']; + } + + \site_header("PHP 8.6 Release Announcement", [ + 'current' => 'php85', + 'css' => ['php85.css'], + 'language_switcher' => $languages, + 'theme_switcher' => true, + 'meta_tags' => << + + + + + + + + + + + + +META + ]); +} + +function message($code, $language = 'en', array $interpolations = []): string +{ + $original = require __DIR__ . '/languages/en.php'; + if (($language !== 'en') && file_exists(__DIR__ . '/languages/' . $language . '.php')) { + $translation = require __DIR__ . '/languages/' . $language . '.php'; + } + + $message = $translation[$code] ?? $original[$code] ?? $code; + + foreach ($interpolations as $name => $value) { + $message = str_replace("{{$name}}", $value, $message); + } + + return $message; +} diff --git a/public/releases/8.6/en.php b/public/releases/8.6/en.php new file mode 100644 index 0000000000..569ea7b5d0 --- /dev/null +++ b/public/releases/8.6/en.php @@ -0,0 +1,5 @@ +chooseCode("", "", $_SERVER['HTTP_ACCEPT_LANGUAGE']); + +mirror_redirect("/releases/8.6/$lang.php"); diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php new file mode 100644 index 0000000000..735dca460e --- /dev/null +++ b/public/releases/8.6/languages/en.php @@ -0,0 +1,41 @@ + 'PHP 8.6 is a major update of the PHP language, with new features including the Polling API, Partial Function Application', + 'main_title' => 'Smarter, Faster, Built for Tomorrow.', + 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Polling API, Partial Function Application

', + + 'whats_new' => 'What\'s new in 8.6', + 'upgrade_now' => 'Upgrade to PHP 8.6', + 'old_version' => 'PHP 8.5 and older', + 'badge_new' => 'NEW', + 'documentation' => 'Doc', + 'released' => 'Released Nov 19, 2026', + 'key_features' => 'Key Features in PHP 8.6', + 'key_features_description' => '

Faster, cleaner, and built for developers.

', + + 'features_pfa_description' => '

Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.

', + 'features_readonly_property_defaults_description' => '

Allows default values for instance readonly properties.

', + 'features_polling_api_description' => '

The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.

', + 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', + 'features_duration_description' => '

Represents a duration of time.

', + 'features_sort_direction_description' => '

Represents a sort directions.

', + + 'pfa_title' => 'Partial Function Application', + 'pfa_description' => 'Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.', + 'readonly_property_defaults_title' => 'Readonly property defaults', + 'readonly_property_defaults_description' => 'Allows default values for instance readonly properties.', + 'polling_api_title' => 'Polling API', + 'polling_api_description' => 'The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.', + 'clamp_title' => 'New clamp() function', + 'clamp_description' => 'Ensures that a given value (numeric or otherwise) falls within a specified range. Otherwise, the nearest boundary value is returned.', + 'duration_title' => 'New \Time\Duration class', + 'duration_description' => 'Represents a duration of time.', + 'sort_direction_title' => 'New SortDirection enum', + 'sort_direction_description' => 'Represents a sort directions.', + + 'new_classes_title' => 'Additional features and improvements', + 'bc_title' => 'Deprecations and backward compatibility breaks', + 'footer_title' => 'Better syntax, improved performance and type safety.', + 'footer_description' => '

The full list of changes is recorded in the ChangeLog.

Please consult the migration guide for a detailed list of new features and backward-incompatible changes.

', +]; diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc new file mode 100644 index 0000000000..c48b92786d --- /dev/null +++ b/public/releases/8.6/release.inc @@ -0,0 +1,276 @@ + + + + + + + + + + SVG, + upgradeNow: message('upgrade_now', $lang), + whatsNew: message('whats_new', $lang), + released: message('released', $lang), +); +?> + +
+ + +
+

+ +
+ +
+
+
+
+
+ + + + + + +
+
+
+ +
+
+
+ + + + + + +
+
+
+ +
+
+
+ + + + + + + +
+
+
+ +
+
+
+ + + + + + + +
+
+
+ +
+
+
+ + + + + + + +
+
+
+ +
+
+
+ + + + + + + +
+
+
+
+
+
+ + + +
+
+
+
+

+
    +
  • TODO
  • +
+
+
+

+
    +
  • TODO
  • +
+
+
+
+
+Created as part of + + The PHP Foundation Design Contest. +

+ HTML, +); + +site_footer(['footer' => false]); From 4563a1d9877933a41c0c7d9d51d95781be922caf Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sat, 10 Oct 2026 13:33:40 +0300 Subject: [PATCH 02/27] wip --- public/releases/8.6/languages/en.php | 23 ++- public/releases/8.6/release.inc | 239 ++++++++++++++++++++------- 2 files changed, 198 insertions(+), 64 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 735dca460e..eeca89d139 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -1,9 +1,9 @@ 'PHP 8.6 is a major update of the PHP language, with new features including the Polling API, Partial Function Application', + 'common_header' => 'PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, Polling API, new Duration class, and new clamp() function', 'main_title' => 'Smarter, Faster, Built for Tomorrow.', - 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Polling API, Partial Function Application

', + 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, Polling API, new Duration class, and new clamp() function

', 'whats_new' => 'What\'s new in 8.6', 'upgrade_now' => 'Upgrade to PHP 8.6', @@ -33,9 +33,28 @@ 'duration_description' => 'Represents a duration of time.', 'sort_direction_title' => 'New SortDirection enum', 'sort_direction_description' => 'Represents a sort directions.', + 'stream_error_handling_title' => 'Stream Error Handling', + 'stream_error_handling_description' => 'TODO.', + 'doc_comments_title' => 'DocComments For Function Parameters', + 'doc_comments_description' => 'TODO.', + 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable and ReflectionProperty::isWritable methods', + 'isreadable_iswriteable_description' => 'TODO.', 'new_classes_title' => 'Additional features and improvements', + 'new_uri' => 'New Uri\Rfc3986\Uri::getUriType(), Uri\WhatWg\Url::isSpecialScheme(), Uri\Rfc3986\Uri::getHostType(), and Uri\WhatWg\Url::getHostType() methods.', + 'new_gmp' => 'New gmp_powm_sec() and gmp_prevprime() functions.', + 'new_intl' => 'New grapheme_strrev() function, and IntlDatePatternGenerator::getSkeleton(), IntlDatePatternGenerator::getBaseSkeleton(), Locale::getDisplayKeyword(), Locale::getDisplayKeywordValue(), SpoofChecker::areBidiConfusable(), SpoofChecker::getBidiSkeleton(), SpoofChecker::getSkeleton() methods.', + 'new_mysqli' => 'New mysqli::quote_string() method and mysqli_quote_string() function.', + 'new_reflection' => 'New ReflectionConstant::inNamespace(), ReflectionAttribute::inNamespace(), ReflectionAttribute::getNamespaceName(), and ReflectionAttribute::getShortName() methods.', + 'new_zip' => 'New ZipArchive::openString() and ZipArchive::closeString() methods.', + 'new_stream' => 'New stream_last_errors() and stream_clear_errors() functions.', + 'bc_title' => 'Deprecations and backward compatibility breaks', + 'deprecated_mysqli' => 'The mysqli_get_charset() function and mysqli::get_charset() method are now deprecated.', + 'deprecated_spl' => 'The spl_classes(), spl_object_hash() functions, and various ArrayIterator and SplFileObject methods are now deprecated.', + 'deprecated_standard' => 'The metaphone(), is_double(), is_long(), is_integer(), doubleval(), and strcoll() functions are now deprecated.', + 'deprecated_date' => 'The DateTime::createFromInterface(), DateTimeImmutable::__set_state(), DateTimeImmutable::modify(), DateTimeImmutable::add(), DateTimeImmutable::sub(), DateTimeImmutable::setTimezone(), DateTimeImmutable::setTime(), DateTimeImmutable::setDate(), DateTimeImmutable::setISODate(), DateTimeImmutable::setTimestamp(), DateTimeImmutable::createFromInterface(), DateTimeZone::__set_state(), DateInterval::__set_state(), DatePeriod::__set_state() methods now have tentative static return types.', + 'footer_title' => 'Better syntax, improved performance and type safety.', 'footer_description' => '

The full list of changes is recorded in the ChangeLog.

Please consult the migration guide for a detailed list of new features and backward-incompatible changes.

', ]; diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index c48b92786d..96a64f5c98 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -19,6 +19,38 @@ require_once __DIR__ . '/common.php'; common_header(message('common_header', $lang)); $comparisons = [ + new FeatureComparison( + id: 'partial-function-application', + title: message('pfa_title', $lang), + description: message('pfa_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', + ], + before: <<<'PHP' + $title = 'PHP 8.5 released!'; + + $slug = $title + |> trim(...) + |> (fn($s) => str_replace(' ', '-', $s)) + |> (fn($s) => str_replace(['.', '/', '…', '!'], '', $s)) + |> strtolower(...); + + var_dump($slug); + // string(15) "php-85-released" + PHP, + after: <<<'PHP' + $title = 'PHP 8.6 released!'; + + $slug = $title + |> trim(...) + |> str_replace(' ', '-', ?) + |> str_replace(['.', '/', '…', '!'], '', ?) + |> strtolower(...); + + var_dump($slug); + // string(15) "php-86-released" + PHP, + ), new FeatureComparison( id: 'polling-api', title: message('polling_api_title', $lang), @@ -34,11 +66,11 @@ $comparisons = [ PHP, ), new FeatureComparison( - id: 'partial-function-application', - title: message('pfa_title', $lang), - description: message('pfa_description', $lang), + id: 'duration-class', + title: message('duration_title', $lang), + description: message('duration_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', + 'RFC|https://wiki.php.net/rfc/duration_class', ], before: <<<'PHP' // TODO @@ -48,59 +80,144 @@ $comparisons = [ PHP, ), new FeatureComparison( - id: 'readonly-property-defaults', - title: message('readonly_property_defaults_title', $lang), - description: message('readonly_property_defaults_description', $lang), + id: 'clamp-function', + title: message('clamp_title', $lang), + description: message('clamp_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/readonly_property_defaults', + 'RFC|https://wiki.php.net/rfc/clamp_v2', ], before: <<<'PHP' - //TODO + function clamp(int $value, int $min, int $max): int { + if ($max < $min) { + throw new \InvalidArgumentException( + '$min must be smaller than or equal to argument $max' + ); + } + if ($value > $max) { + return $max; + } + if ($value < $min) { + return $min; + } + + return $value; + } PHP, after: <<<'PHP' - //TODO + var_dump(clamp(-10, 0, 100)); + // int(0) + + var_dump(clamp(50, 0, 100)); + // int(50) + + var_dump(clamp(110, 0, 100)); + // int(100) PHP, ), new FeatureComparison( - id: 'duration-class', - title: message('duration_title', $lang), - description: message('duration_description', $lang), + id: 'sort-direction-enum', + title: message('sort_direction_title', $lang), + description: message('sort_direction_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/duration_class', + 'RFC|https://wiki.php.net/rfc/sort_direction_enum', ], before: <<<'PHP' - // TODO + if (!enum_exists('SortDirection')) { + enum SortDirection { + case Ascending; + case Descending; + } + } PHP, after: <<<'PHP' - // TODO + class QueryBuilder { + private SortDirection $sort; + + public function setSort(SortDirection $sort): void { + $this->sort = $sort; + } + + private function getSortKeyword(): string { + return match($this->sort) { + SortDirection::Ascending => 'ASC', + SortDirection::Descending => 'DESC', + }; + } + } PHP, ), new FeatureComparison( - id: 'sort-direction-enum', - title: message('sort_direction_title', $lang), - description: message('sort_direction_description', $lang), + id: 'doc-comments', + title: message('doc_comments_title', $lang), + description: message('doc_comments_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/sort_direction_enum', + 'RFC|https://wiki.php.net/rfc/parameter-doccomments', ], - before: <<<'PHP' - // TODO + before: '', + after: <<<'PHP' + class DB { + /** + * Returns collection + * @return array + */ + function search( + /** string Terms to search */ + string $query, + + /** int Terms to search */ + int $limit = 10 + ): array { + return []; + } + } + + var_dump( + new ReflectionParameter([DB::class, 'search'], 'query')->getDocComment() + ); + // string(29) "/** string Terms to search */" PHP, + ), + new FeatureComparison( + id: 'isreadable-iswriteable', + title: message('isreadable_iswriteable_title', $lang), + description: message('isreadable_iswriteable_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/parameter-doccomments', + ], + before: '', after: <<<'PHP' - // TODO + class NewsEntry { + public string $title = 'PHP 8.6 released!'; + + public private(set) string $slug = 'php-86-released'; + } + + $entry = new NewsEntry(); + foreach (['title', 'slug'] as $item) { + $property = new ReflectionProperty(NewsEntry::class, $item); + printf( + "%s: isReadable=%s isWritable=%s\n", + $item, + $property->isReadable(null, $entry) ? 'yes' : 'no', + $property->isWritable(null, $entry) ? 'yes' : 'no' + ); + } + // title: isReadable=yes isWritable=yes + // slug: isReadable=yes isWritable=no PHP, ), new FeatureComparison( - id: 'clamp-function', - title: message('clamp_title', $lang), - description: message('clamp_description', $lang), + id: 'readonly-property-defaults', + title: message('readonly_property_defaults_title', $lang), + description: message('readonly_property_defaults_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/clamp_v2', + 'RFC|https://wiki.php.net/rfc/readonly_property_defaults', ], before: <<<'PHP' - // TODO + //TODO PHP, after: <<<'PHP' - // TODO + //TODO PHP, ), ]; @@ -142,68 +259,64 @@ echo ReleasePage::getHeroSection(
-
+
+ d="M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"/> - - + +
- -
+
+ d="M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"/> - - + +
- -
+
+ d="M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"/> - + - +
- -
+
+ d="M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"/> - + - +
-
@@ -219,19 +332,18 @@ echo ReleasePage::getHeroSection(
- -
+
+ d="M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3"/> - + - +
@@ -247,13 +359,22 @@ echo ReleasePage::getHeroSection(

    -
  • TODO
  • +
  • +
  • +
  • +
  • +
  • +
  • +

    -
  • TODO
  • +
  • +
  • +
  • +
@@ -265,12 +386,6 @@ echo ReleasePage::getPrefooter( title: message('footer_title', $lang), upgradeNow: message('upgrade_now', $lang), description: message('footer_description', $lang), - extraCredit: <<<'HTML' -

Created as part of - - The PHP Foundation Design Contest. -

- HTML, ); site_footer(['footer' => false]); From 0db829179136f046684b0b181bf01cfb9c57d7ab Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sun, 25 Oct 2026 13:03:10 +0300 Subject: [PATCH 03/27] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 60 ++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 96a64f5c98..641bbbc702 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -52,11 +52,11 @@ $comparisons = [ PHP, ), new FeatureComparison( - id: 'polling-api', - title: message('polling_api_title', $lang), - description: message('polling_api_description', $lang), + id: 'duration-class', + title: message('duration_title', $lang), + description: message('duration_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/poll_api', + 'RFC|https://wiki.php.net/rfc/duration_class', ], before: <<<'PHP' // TODO @@ -66,11 +66,11 @@ $comparisons = [ PHP, ), new FeatureComparison( - id: 'duration-class', - title: message('duration_title', $lang), - description: message('duration_description', $lang), + id: 'polling-api', + title: message('polling_api_title', $lang), + description: message('polling_api_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/duration_class', + 'RFC|https://wiki.php.net/rfc/poll_api', ], before: <<<'PHP' // TODO @@ -87,21 +87,14 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/clamp_v2', ], before: <<<'PHP' - function clamp(int $value, int $min, int $max): int { - if ($max < $min) { - throw new \InvalidArgumentException( - '$min must be smaller than or equal to argument $max' - ); - } - if ($value > $max) { - return $max; - } - if ($value < $min) { - return $min; - } + var_dump(max(0, min(-10, 100))); + // int(0) - return $value; - } + var_dump(max(0, min(50, 100))); + // int(50) + + var_dump(max(0, min(110, 100))); + // int(100) PHP, after: <<<'PHP' var_dump(clamp(-10, 0, 100)); @@ -122,10 +115,18 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/sort_direction_enum', ], before: <<<'PHP' - if (!enum_exists('SortDirection')) { - enum SortDirection { - case Ascending; - case Descending; + class QueryBuilder { + private int $sort; + + public function setSort(int $sort): void { + $this->sort = $sort; + } + + private function getSortKeyword(): string { + return match($this->sort) { + SORT_ASC => 'ASC', + SORT_DESC => 'DESC', + }; } } PHP, @@ -157,11 +158,10 @@ $comparisons = [ after: <<<'PHP' class DB { /** - * Returns collection - * @return array + * Returns up to $limit items matching the $query. */ function search( - /** string Terms to search */ + /** Terms to search */ string $query, /** int Terms to search */ @@ -174,7 +174,7 @@ $comparisons = [ var_dump( new ReflectionParameter([DB::class, 'search'], 'query')->getDocComment() ); - // string(29) "/** string Terms to search */" + // string(22) "/** Terms to search */" PHP, ), new FeatureComparison( From 03e9c7c97a6840653a7e4a22eb5ff9ddb7a07c67 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sun, 25 Oct 2026 13:10:50 +0300 Subject: [PATCH 04/27] Reorder features --- public/releases/8.6/languages/en.php | 4 ++-- public/releases/8.6/release.inc | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index eeca89d139..107d1226da 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -1,9 +1,9 @@ 'PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, Polling API, new Duration class, and new clamp() function', + 'common_header' => 'PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, new Duration class, Polling API, and new clamp() function', 'main_title' => 'Smarter, Faster, Built for Tomorrow.', - 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, Polling API, new Duration class, and new clamp() function

', + 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, new Duration class, Polling API, and new clamp() function

', 'whats_new' => 'What\'s new in 8.6', 'upgrade_now' => 'Upgrade to PHP 8.6', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 641bbbc702..1d5b5a7434 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -259,7 +259,7 @@ echo ReleasePage::getHeroSection(
-
+
-
+
+ d="M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"/> - - + + +
-
+
+ d="M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"/> - - - + +
-
+
-
+
Date: Sat, 7 Nov 2026 12:51:22 +0300 Subject: [PATCH 05/27] Apply batched suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus Co-authored-by: Daniel Scherzer --- public/releases/8.6/languages/en.php | 8 ++++---- public/releases/8.6/release.inc | 30 ++++++++++++++++++---------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 107d1226da..bca5bf85e1 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -1,9 +1,9 @@ 'PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, new Duration class, Polling API, and new clamp() function', + 'common_header' => 'PHP 8.6 is a major update of the PHP language, with new features including Partial Function Application, a new Duration class, a Polling API, and a new clamp() function', 'main_title' => 'Smarter, Faster, Built for Tomorrow.', - 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including the Partial Function Application, new Duration class, Polling API, and new clamp() function

', + 'main_subtitle' => '

PHP 8.6 is a major update of the PHP language, with new features including Partial Function Application, a new Duration class, a Polling API, and a new clamp() function

', 'whats_new' => 'What\'s new in 8.6', 'upgrade_now' => 'Upgrade to PHP 8.6', @@ -19,7 +19,7 @@ 'features_polling_api_description' => '

The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', 'features_duration_description' => '

Represents a duration of time.

', - 'features_sort_direction_description' => '

Represents a sort directions.

', + 'features_sort_direction_description' => '

Represents possible sort directions.

', 'pfa_title' => 'Partial Function Application', 'pfa_description' => 'Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.', @@ -37,7 +37,7 @@ 'stream_error_handling_description' => 'TODO.', 'doc_comments_title' => 'DocComments For Function Parameters', 'doc_comments_description' => 'TODO.', - 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable and ReflectionProperty::isWritable methods', + 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable() and ReflectionProperty::isWritable() methods', 'isreadable_iswriteable_description' => 'TODO.', 'new_classes_title' => 'Additional features and improvements', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 1d5b5a7434..c828530c24 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -115,14 +115,17 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/sort_direction_enum', ], before: <<<'PHP' - class QueryBuilder { + class QueryBuilder + { private int $sort; - public function setSort(int $sort): void { + public function setSort(int $sort): void + { $this->sort = $sort; } - private function getSortKeyword(): string { + private function getSortKeyword(): string + { return match($this->sort) { SORT_ASC => 'ASC', SORT_DESC => 'DESC', @@ -131,14 +134,17 @@ $comparisons = [ } PHP, after: <<<'PHP' - class QueryBuilder { + class QueryBuilder + { private SortDirection $sort; - public function setSort(SortDirection $sort): void { + public function setSort(SortDirection $sort): void + { $this->sort = $sort; } - private function getSortKeyword(): string { + private function getSortKeyword(): string + { return match($this->sort) { SortDirection::Ascending => 'ASC', SortDirection::Descending => 'DESC', @@ -156,15 +162,16 @@ $comparisons = [ ], before: '', after: <<<'PHP' - class DB { + class DB + { /** - * Returns up to $limit items matching the $query. - */ + * Returns up to $limit items matching the $query. + */ function search( /** Terms to search */ string $query, - /** int Terms to search */ + /** Maximum number of results */ int $limit = 10 ): array { return []; @@ -186,7 +193,8 @@ $comparisons = [ ], before: '', after: <<<'PHP' - class NewsEntry { + class NewsEntry + { public string $title = 'PHP 8.6 released!'; public private(set) string $slug = 'php-86-released'; From f0ca38b5e66e292c6ff873623ab5d89c27d6d1b2 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sat, 7 Nov 2026 12:56:30 +0300 Subject: [PATCH 06/27] indentation fixed Co-authored-by: Theodore Brown --- public/releases/8.6/release.inc | 194 ++++++++++++++++---------------- 1 file changed, 97 insertions(+), 97 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index c828530c24..8df7ae7f93 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -19,14 +19,14 @@ require_once __DIR__ . '/common.php'; common_header(message('common_header', $lang)); $comparisons = [ - new FeatureComparison( - id: 'partial-function-application', - title: message('pfa_title', $lang), - description: message('pfa_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', - ], - before: <<<'PHP' + new FeatureComparison( + id: 'partial-function-application', + title: message('pfa_title', $lang), + description: message('pfa_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', + ], + before: <<<'PHP' $title = 'PHP 8.5 released!'; $slug = $title @@ -38,7 +38,7 @@ $comparisons = [ var_dump($slug); // string(15) "php-85-released" PHP, - after: <<<'PHP' + after: <<<'PHP' $title = 'PHP 8.6 released!'; $slug = $title @@ -50,43 +50,43 @@ $comparisons = [ var_dump($slug); // string(15) "php-86-released" PHP, - ), - new FeatureComparison( - id: 'duration-class', - title: message('duration_title', $lang), - description: message('duration_description', $lang), - links: [ + ), + new FeatureComparison( + id: 'duration-class', + title: message('duration_title', $lang), + description: message('duration_description', $lang), + links: [ 'RFC|https://wiki.php.net/rfc/duration_class', ], - before: <<<'PHP' + before: <<<'PHP' // TODO PHP, - after: <<<'PHP' + after: <<<'PHP' // TODO PHP, - ), - new FeatureComparison( - id: 'polling-api', - title: message('polling_api_title', $lang), - description: message('polling_api_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/poll_api', - ], - before: <<<'PHP' + ), + new FeatureComparison( + id: 'polling-api', + title: message('polling_api_title', $lang), + description: message('polling_api_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/poll_api', + ], + before: <<<'PHP' // TODO PHP, - after: <<<'PHP' + after: <<<'PHP' // TODO PHP, - ), - new FeatureComparison( - id: 'clamp-function', - title: message('clamp_title', $lang), - description: message('clamp_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/clamp_v2', - ], - before: <<<'PHP' + ), + new FeatureComparison( + id: 'clamp-function', + title: message('clamp_title', $lang), + description: message('clamp_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/clamp_v2', + ], + before: <<<'PHP' var_dump(max(0, min(-10, 100))); // int(0) @@ -96,7 +96,7 @@ $comparisons = [ var_dump(max(0, min(110, 100))); // int(100) PHP, - after: <<<'PHP' + after: <<<'PHP' var_dump(clamp(-10, 0, 100)); // int(0) @@ -106,15 +106,15 @@ $comparisons = [ var_dump(clamp(110, 0, 100)); // int(100) PHP, - ), - new FeatureComparison( - id: 'sort-direction-enum', - title: message('sort_direction_title', $lang), - description: message('sort_direction_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/sort_direction_enum', - ], - before: <<<'PHP' + ), + new FeatureComparison( + id: 'sort-direction-enum', + title: message('sort_direction_title', $lang), + description: message('sort_direction_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/sort_direction_enum', + ], + before: <<<'PHP' class QueryBuilder { private int $sort; @@ -133,7 +133,7 @@ $comparisons = [ } } PHP, - after: <<<'PHP' + after: <<<'PHP' class QueryBuilder { private SortDirection $sort; @@ -152,16 +152,16 @@ $comparisons = [ } } PHP, - ), - new FeatureComparison( - id: 'doc-comments', - title: message('doc_comments_title', $lang), - description: message('doc_comments_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/parameter-doccomments', - ], - before: '', - after: <<<'PHP' + ), + new FeatureComparison( + id: 'doc-comments', + title: message('doc_comments_title', $lang), + description: message('doc_comments_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/parameter-doccomments', + ], + before: '', + after: <<<'PHP' class DB { /** @@ -183,16 +183,16 @@ $comparisons = [ ); // string(22) "/** Terms to search */" PHP, - ), - new FeatureComparison( - id: 'isreadable-iswriteable', - title: message('isreadable_iswriteable_title', $lang), - description: message('isreadable_iswriteable_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/parameter-doccomments', - ], - before: '', - after: <<<'PHP' + ), + new FeatureComparison( + id: 'isreadable-iswriteable', + title: message('isreadable_iswriteable_title', $lang), + description: message('isreadable_iswriteable_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/parameter-doccomments', + ], + before: '', + after: <<<'PHP' class NewsEntry { public string $title = 'PHP 8.6 released!'; @@ -213,40 +213,40 @@ $comparisons = [ // title: isReadable=yes isWritable=yes // slug: isReadable=yes isWritable=no PHP, - ), - new FeatureComparison( - id: 'readonly-property-defaults', - title: message('readonly_property_defaults_title', $lang), - description: message('readonly_property_defaults_description', $lang), - links: [ - 'RFC|https://wiki.php.net/rfc/readonly_property_defaults', - ], - before: <<<'PHP' + ), + new FeatureComparison( + id: 'readonly-property-defaults', + title: message('readonly_property_defaults_title', $lang), + description: message('readonly_property_defaults_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/readonly_property_defaults', + ], + before: <<<'PHP' //TODO PHP, - after: <<<'PHP' + after: <<<'PHP' //TODO PHP, - ), + ), ]; echo ReleasePage::getHeroSection( - title: message('main_title', $lang), - subtitle: message('main_subtitle', $lang), - logoSvg: <<<'SVG' - - SVG, - upgradeNow: message('upgrade_now', $lang), - whatsNew: message('whats_new', $lang), - released: message('released', $lang), + title: message('main_title', $lang), + subtitle: message('main_subtitle', $lang), + logoSvg: <<<'SVG' + + SVG, + upgradeNow: message('upgrade_now', $lang), + whatsNew: message('whats_new', $lang), + released: message('released', $lang), ); ?> @@ -391,9 +391,9 @@ echo ReleasePage::getHeroSection( false]); From 9eb014d669855b6fc314af9b9dd703330d424e0b Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sat, 7 Nov 2026 13:09:58 +0300 Subject: [PATCH 07/27] Fix mobile layout --- public/releases/8.6/release.inc | 29 +++++++++++++++++++++++++---- public/styles/php85.css | 8 +++++--- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 8df7ae7f93..f873a621a1 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -58,11 +58,32 @@ $comparisons = [ links: [ 'RFC|https://wiki.php.net/rfc/duration_class', ], - before: <<<'PHP' - // TODO - PHP, + before: '', after: <<<'PHP' - // TODO + use Time\Duration; + + $oneSecond = Duration::fromSeconds(1); + $halfSecond = $oneSecond->divideBy(2); + + $onePointFiveSeconds = $oneSecond->add($halfSecond); + + // Sleep for 1.5 seconds + sleep($onePointFiveSeconds); + + $negativeHour = Duration::fromHours(1)->negate(); + + $durations = [ + $oneSecond, + $negativeHour, + $onePointFiveSeconds, + $halfSecond, + ]; + + usort($durations, Duration::compare(...)); // Will sort to [-1h, 0.5s, 1s, 1.5s] + + $baseDelay = Duration::fromMilliseconds(100); + $attempt = 5; + $delay = $baseDelay->multiplyBy(2 ** $attempt); // $delay is equal to 3.2 seconds PHP, ), new FeatureComparison( diff --git a/public/styles/php85.css b/public/styles/php85.css index 15f2aa0143..588705b134 100644 --- a/public/styles/php85.css +++ b/public/styles/php85.css @@ -442,7 +442,8 @@ a { background-image: radial-gradient(at 50% 50%, var(--color-white), transparent 65%); padding-inline: calc(var(--spacing) * 4); text-align: center; - margin-inline: auto + margin-inline: auto; + width: 100%; } @media (min-width: 40rem) { @@ -546,7 +547,8 @@ a { margin-inline: auto; margin-bottom: calc(var(--spacing) * 6); height: calc(var(--spacing) * 12); - color: var(--color-gray-800) + color: var(--color-gray-800); + width: auto; } @media (min-width: 64rem) { @@ -1050,7 +1052,7 @@ a { } .before-and-after-title-and-description h2 { - font-size: var(--text-2xl); + font-size: var(--text-xl); line-height: var(--tw-leading, var(--text-2xl--line-height)); font-weight: var(--font-weight-bold) } From a62bcec9a33ef1e3f605d953d9d374ecc5a2740e Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sun, 8 Nov 2026 20:39:05 +0300 Subject: [PATCH 08/27] Apply batched suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index f873a621a1..d1b3f9375a 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -68,7 +68,7 @@ $comparisons = [ $onePointFiveSeconds = $oneSecond->add($halfSecond); // Sleep for 1.5 seconds - sleep($onePointFiveSeconds); + time_nanosleep($onePointFiveSeconds->seconds, $onePointFiveSeconds->nanoseconds); $negativeHour = Duration::fromHours(1)->negate(); @@ -193,7 +193,7 @@ $comparisons = [ string $query, /** Maximum number of results */ - int $limit = 10 + int $limit = 10, ): array { return []; } From 44bb7ffbde39486a47a5a568609bb40e26cadc3f Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sun, 8 Nov 2026 20:56:26 +0300 Subject: [PATCH 09/27] Wording + icons --- public/releases/8.6/languages/en.php | 8 +-- public/releases/8.6/release.inc | 79 +++++++++++++--------------- 2 files changed, 41 insertions(+), 46 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index bca5bf85e1..ea1bfc38f3 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -18,8 +18,8 @@ 'features_readonly_property_defaults_description' => '

Allows default values for instance readonly properties.

', 'features_polling_api_description' => '

The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', - 'features_duration_description' => '

Represents a duration of time.

', - 'features_sort_direction_description' => '

Represents possible sort directions.

', + 'features_duration_description' => '

The Duration class represents elapsed time as measured by a stopwatch.

', + 'features_sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

', 'pfa_title' => 'Partial Function Application', 'pfa_description' => 'Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.', @@ -30,9 +30,9 @@ 'clamp_title' => 'New clamp() function', 'clamp_description' => 'Ensures that a given value (numeric or otherwise) falls within a specified range. Otherwise, the nearest boundary value is returned.', 'duration_title' => 'New \Time\Duration class', - 'duration_description' => 'Represents a duration of time.', + 'duration_description' => 'The Duration class represents elapsed time as measured by a stopwatch. Its representation is independent of any time and timezone and allows to represent a range of more than 250 years with nanosecond precision. This makes it well-suited to represent timeouts or benchmark timings in an expressive way.', 'sort_direction_title' => 'New SortDirection enum', - 'sort_direction_description' => 'Represents a sort directions.', + 'sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

Learn more about this feature in The PHP Foundation’s blog.

', 'stream_error_handling_title' => 'Stream Error Handling', 'stream_error_handling_description' => 'TODO.', 'doc_comments_title' => 'DocComments For Function Parameters', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index d1b3f9375a..e2a40a8c67 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -27,28 +27,34 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', ], before: <<<'PHP' - $title = 'PHP 8.5 released!'; - - $slug = $title - |> trim(...) - |> (fn($s) => str_replace(' ', '-', $s)) - |> (fn($s) => str_replace(['.', '/', '…', '!'], '', $s)) - |> strtolower(...); + $versions = [ + '8.4', + '8.5', + '8.6', + '8.7', + // … + '9.0', + ]; - var_dump($slug); - // string(15) "php-85-released" + $supportsPartialFunctionApplication = array_filter( + $versions, + fn ($version) => version_compare($version, '8.6', '>='), + ); PHP, after: <<<'PHP' - $title = 'PHP 8.6 released!'; - - $slug = $title - |> trim(...) - |> str_replace(' ', '-', ?) - |> str_replace(['.', '/', '…', '!'], '', ?) - |> strtolower(...); + $versions = [ + '8.4', + '8.5', + '8.6', + '8.7', + // … + '9.0', + ]; - var_dump($slug); - // string(15) "php-86-released" + $supportsPartialFunctionApplication = array_filter( + $versions, + version_compare(?, '8.6', '>='), + ); PHP, ), new FeatureComparison( @@ -291,10 +297,8 @@ echo ReleasePage::getHeroSection(
- - + + @@ -305,10 +309,8 @@ echo ReleasePage::getHeroSection(
- - + + @@ -320,10 +322,8 @@ echo ReleasePage::getHeroSection(
- - + + @@ -334,10 +334,8 @@ echo ReleasePage::getHeroSection(
- - + + @@ -349,10 +347,8 @@ echo ReleasePage::getHeroSection(
- - + + @@ -364,10 +360,9 @@ echo ReleasePage::getHeroSection(
- - + + + From dd04dee56afa295dff08682d1942c072a0de567e Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Sun, 15 Nov 2026 15:26:22 -0600 Subject: [PATCH 10/27] Finish PHP 8.6 release page (#52) Add missing examples and descriptions for the Polling API, readonly property defaults, stream error handling, parameter DocComments, and isReadable()/isWritable(). Rewrite the additional features and deprecations sections to focus on the most important changes instead of long lists of function names. Also fixed a couple PHPStan errors in the common.php file. --- public/releases/8.6/common.php | 9 +- public/releases/8.6/languages/en.php | 50 +++++--- public/releases/8.6/release.inc | 174 ++++++++++++++++++++++++--- 3 files changed, 197 insertions(+), 36 deletions(-) diff --git a/public/releases/8.6/common.php b/public/releases/8.6/common.php index f7c81ac60c..a30f617e19 100644 --- a/public/releases/8.6/common.php +++ b/public/releases/8.6/common.php @@ -13,8 +13,8 @@ function common_header(string $description): void { global $MYSITE, $lang; - $meta_image_path = \htmlspecialchars( - \filter_var($MYSITE . 'images/php8/php_8_6_released.png', \FILTER_VALIDATE_URL)); + $meta_image_url = \filter_var($MYSITE . 'images/php8/php_8_6_released.png', \FILTER_VALIDATE_URL); + $meta_image_path = $meta_image_url === false ? '' : \htmlspecialchars($meta_image_url); $meta_description = \htmlspecialchars($description); $languages = []; @@ -45,7 +45,10 @@ function common_header(string $description): void { ]); } -function message($code, $language = 'en', array $interpolations = []): string +/** + * @param array $interpolations + */ +function message(string $code, string $language = 'en', array $interpolations = []): string { $original = require __DIR__ . '/languages/en.php'; if (($language !== 'en') && file_exists(__DIR__ . '/languages/' . $language . '.php')) { diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index ea1bfc38f3..0d538cee16 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -16,7 +16,7 @@ 'features_pfa_description' => '

Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.

', 'features_readonly_property_defaults_description' => '

Allows default values for instance readonly properties.

', - 'features_polling_api_description' => '

The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.

', + 'features_polling_api_description' => '

Scalable I/O multiplexing using epoll, kqueue, and other native mechanisms, available to event loop libraries like ReactPHP and AMPHP.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', 'features_duration_description' => '

The Duration class represents elapsed time as measured by a stopwatch.

', 'features_sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

', @@ -26,7 +26,7 @@ 'readonly_property_defaults_title' => 'Readonly property defaults', 'readonly_property_defaults_description' => 'Allows default values for instance readonly properties.', 'polling_api_title' => 'Polling API', - 'polling_api_description' => 'The new API is available at the user-code level, allowing low-level frameworks such as ReactPHP or Amp to utilize it.', + 'polling_api_description' => 'The new Io\Poll API efficiently monitors many streams at once using the best mechanism available on each platform (epoll, kqueue, event ports, or WSAPoll), without the scalability limits of stream_select(). It is designed as a common foundation that event loop libraries such as ReactPHP and AMPHP can build on.', 'clamp_title' => 'New clamp() function', 'clamp_description' => 'Ensures that a given value (numeric or otherwise) falls within a specified range. Otherwise, the nearest boundary value is returned.', 'duration_title' => 'New \Time\Duration class', @@ -34,26 +34,44 @@ 'sort_direction_title' => 'New SortDirection enum', 'sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

Learn more about this feature in The PHP Foundation’s blog.

', 'stream_error_handling_title' => 'Stream Error Handling', - 'stream_error_handling_description' => 'TODO.', + 'stream_error_handling_description' => 'Stream operations can now be configured to throw a StreamException or to fail silently instead of emitting warnings. Errors are reported as structured StreamError objects with a StreamErrorCode enum case, the wrapper name, and the affected path or URL, and can also be retrieved later with stream_last_errors() or passed to a custom error handler.', 'doc_comments_title' => 'DocComments For Function Parameters', - 'doc_comments_description' => 'TODO.', + 'doc_comments_description' => 'Function and method parameters can now have their own DocComments, which are available via the new ReflectionParameter::getDocComment() method. This allows each parameter to be documented right next to its declaration, without repeating its name and type in a @param tag.', 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable() and ReflectionProperty::isWritable() methods', - 'isreadable_iswriteable_description' => 'TODO.', + 'isreadable_iswriteable_description' => 'With readonly properties, asymmetric visibility, and property hooks, checking whether a property is public is no longer enough to know whether it can be read or written. The new methods answer this directly for a given scope, and optionally for a specific object, taking into account visibility, initialization state, hooks, and magic methods.', 'new_classes_title' => 'Additional features and improvements', - 'new_uri' => 'New Uri\Rfc3986\Uri::getUriType(), Uri\WhatWg\Url::isSpecialScheme(), Uri\Rfc3986\Uri::getHostType(), and Uri\WhatWg\Url::getHostType() methods.', - 'new_gmp' => 'New gmp_powm_sec() and gmp_prevprime() functions.', - 'new_intl' => 'New grapheme_strrev() function, and IntlDatePatternGenerator::getSkeleton(), IntlDatePatternGenerator::getBaseSkeleton(), Locale::getDisplayKeyword(), Locale::getDisplayKeywordValue(), SpoofChecker::areBidiConfusable(), SpoofChecker::getBidiSkeleton(), SpoofChecker::getSkeleton() methods.', - 'new_mysqli' => 'New mysqli::quote_string() method and mysqli_quote_string() function.', - 'new_reflection' => 'New ReflectionConstant::inNamespace(), ReflectionAttribute::inNamespace(), ReflectionAttribute::getNamespaceName(), and ReflectionAttribute::getShortName() methods.', - 'new_zip' => 'New ZipArchive::openString() and ZipArchive::closeString() methods.', - 'new_stream' => 'New stream_last_errors() and stream_clear_errors() functions.', + 'new_override_constants' => 'The #[\Override] attribute can now be applied to class constants and enum cases.', + 'new_enum_debug_info' => 'Enums can now implement the __debugInfo() magic method.', + 'new_const_object_writes' => 'Properties of objects stored in constants can now be modified directly, e.g. Config::DEFAULTS->timeout = 30.', + 'new_uri_builder' => 'New Uri\Rfc3986\UriBuilder and Uri\WhatWg\UrlBuilder classes build URIs from their components, along with new methods for detecting URI and host types and a Uri\WhatWg\url_percent_encode() function.', + 'new_sodium' => 'The Sodium extension adds post-quantum key encapsulation (X-Wing and ML-KEM-768), IP address encryption, and the SHAKE and TurboSHAKE extendable-output functions.', + 'new_tls' => 'TLS streams now support session resumption, external pre-shared keys, and TLS 1.3 early data (0-RTT).', + 'new_mysqli_quote_string' => 'New mysqli::quote_string() method escapes a string and wraps it in quotes, matching PDO::quote().', + 'new_pack_endianness' => 'pack() and unpack() now accept the < and > endianness modifiers on integer and float format codes.', + 'new_json_error_location' => 'JSON error messages now include the location of the error in the input.', + 'new_error_include_args' => 'The new error_include_args INI setting consistently includes function arguments in error messages.', + 'new_intl' => 'New grapheme_strrev() function reverses strings by grapheme cluster, and the new IntlNumberRangeFormatter class formats ranges of numbers.', + 'new_zip' => 'New ZipArchive::openString() and ZipArchive::closeString() methods work with in-memory archives.', + 'new_performance' => 'Performance improvements include compiling array_map() with first-class callable or partial application callbacks into loops, faster printf() calls, caching of stateless closures, and faster JSON encoding.', 'bc_title' => 'Deprecations and backward compatibility breaks', - 'deprecated_mysqli' => 'The mysqli_get_charset() function and mysqli::get_charset() method are now deprecated.', - 'deprecated_spl' => 'The spl_classes(), spl_object_hash() functions, and various ArrayIterator and SplFileObject methods are now deprecated.', - 'deprecated_standard' => 'The metaphone(), is_double(), is_long(), is_integer(), doubleval(), and strcoll() functions are now deprecated.', - 'deprecated_date' => 'The DateTime::createFromInterface(), DateTimeImmutable::__set_state(), DateTimeImmutable::modify(), DateTimeImmutable::add(), DateTimeImmutable::sub(), DateTimeImmutable::setTimezone(), DateTimeImmutable::setTime(), DateTimeImmutable::setDate(), DateTimeImmutable::setISODate(), DateTimeImmutable::setTimestamp(), DateTimeImmutable::createFromInterface(), DateTimeZone::__set_state(), DateInterval::__set_state(), DatePeriod::__set_state() methods now have tentative static return types.', + 'bc_return_in_finally' => 'Using return inside a finally block is now deprecated, as it silently discards exceptions and overrides values returned from the try or catch block.', + 'bc_constructor_return' => 'Returning a value from __construct() or __destruct() and making them generators is now deprecated. Declaring a nullable return type for __debugInfo() is also deprecated.', + 'bc_reserved_identifiers' => 'Using let or is as the name of a class, function, or constant is now deprecated. Using _ as a constant name, namespace as a class constant name, or readonly as a function name is also deprecated.', + 'bc_mbregex' => 'The mbstring regular expression functions such as mb_ereg() and mb_split() have been deprecated, as the underlying Oniguruma library is no longer maintained. PCRE functions with the u modifier can be used instead.', + 'bc_type_aliases' => 'The is_double(), is_long(), is_integer(), and doubleval() aliases have been deprecated. Use is_float(), is_int(), and floatval() instead.', + 'bc_spl_object_hash' => 'spl_object_hash() has been deprecated in favor of spl_object_id(), and spl_classes() in favor of ReflectionExtension::getClassNames().', + 'bc_objects_as_arrays' => 'Passing an object where an array is expected to array_walk(), array_walk_recursive(), http_build_query(), mb_convert_variables(), and compression functions and filters is now deprecated. Use get_object_vars() to convert the object first.', + 'bc_strcoll' => 'strcoll() and the SORT_LOCALE_STRING sort flag have been deprecated. Use the Collator class from the intl extension instead.', + 'bc_ignored_arguments' => 'Passing a third argument to define() is now deprecated, as is calling is_a() or is_subclass_of() with a class name string when $allow_string is false.', + 'bc_php_filter' => 'Using more than 16 filters in a php://filter URL without setting the filter.max_filter_count context option is now deprecated.', + 'bc_session_defaults' => 'Sessions are now more secure by default: session.use_strict_mode and session.cookie_httponly are enabled, and session.cookie_samesite is set to Lax.', + 'bc_session_handlers' => 'Custom session handlers that do not implement both create_sid() and validateId() are now deprecated.', + 'bc_other_deprecations' => 'The metaphone(), mysqli_get_charset(), and mysqli_stmt_init() functions are now deprecated, along with the CSV methods of SplFileObject and the sorting, flag, and serialization methods of ArrayIterator.', + 'bc_trim_form_feed' => 'trim(), ltrim(), and rtrim() now also strip form feed (\f) characters by default.', + 'bc_stream_close_errors' => 'fclose(), file_put_contents(), and copy() now return false when flushing or closing the stream fails, instead of silently ignoring the failure.', + 'bc_value_errors' => 'Many functions now throw a ValueError for out-of-range values, invalid flags, or strings containing NUL bytes, instead of silently truncating or ignoring them.', 'footer_title' => 'Better syntax, improved performance and type safety.', 'footer_description' => '

The full list of changes is recorded in the ChangeLog.

Please consult the migration guide for a detailed list of new features and backward-incompatible changes.

', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index e2a40a8c67..f75afa9484 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -62,8 +62,8 @@ $comparisons = [ title: message('duration_title', $lang), description: message('duration_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/duration_class', - ], + 'RFC|https://wiki.php.net/rfc/duration_class', + ], before: '', after: <<<'PHP' use Time\Duration; @@ -100,10 +100,95 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/poll_api', ], before: <<<'PHP' - // TODO + $server = stream_socket_server('tcp://0.0.0.0:8080'); + $clients = []; + + while (true) { + $read = [$server, ...$clients]; + $write = $except = null; + + // Based on select(), which typically can't handle more than 1024 connections + stream_select($read, $write, $except, null); + + foreach ($read as $stream) { + if ($stream === $server) { + $clients[] = stream_socket_accept($server); + continue; + } + + $data = fread($stream, 8192); + + if ($data === '' || $data === false) { + unset($clients[array_search($stream, $clients, true)]); + fclose($stream); + } else { + fwrite($stream, $data); + } + } + } + PHP, + after: <<<'PHP' + use Io\Poll\{Context, Event}; + + $server = stream_socket_server('tcp://0.0.0.0:8080'); + + // Automatically uses epoll, kqueue, event ports, or WSAPoll + $poll = new Context(); + $poll->add(new StreamPollHandle($server), [Event::Read]); + + while (true) { + foreach ($poll->wait() as $watcher) { + $stream = $watcher->getHandle()->getStream(); + + if ($stream === $server) { + $client = stream_socket_accept($server); + $poll->add(new StreamPollHandle($client), [Event::Read]); + continue; + } + + $data = fread($stream, 8192); + + if ($data === '' || $data === false) { + $watcher->remove(); + fclose($stream); + } else { + fwrite($stream, $data); + } + } + } + PHP, + ), + new FeatureComparison( + id: 'stream-error-handling', + title: message('stream_error_handling_title', $lang), + description: message('stream_error_handling_description', $lang), + links: [ + 'RFC|https://wiki.php.net/rfc/stream_errors', + ], + before: <<<'PHP' + $config = @file_get_contents('/etc/app/config.json'); + + if ($config === false) { + // Only an unstructured message string is available + $error = error_get_last(); + log_error($error['message']); + } PHP, after: <<<'PHP' - // TODO + $context = stream_context_create([ + 'stream' => [ + 'error_mode' => StreamErrorMode::Exception, + ], + ]); + + try { + $config = file_get_contents('/etc/app/config.json', context: $context); + } catch (StreamException $e) { + foreach ($e->getErrors() as $error) { + // $error->code is a StreamErrorCode enum case + log_error($error->code->name, $error->message, $error->wrapperName); + } + } PHP, ), new FeatureComparison( @@ -187,7 +272,23 @@ $comparisons = [ links: [ 'RFC|https://wiki.php.net/rfc/parameter-doccomments', ], - before: '', + before: <<<'PHP' + class DB + { + /** + * Returns up to $limit items matching the $query. + * + * @param string $query Terms to search + * @param int $limit Maximum number of results + */ + function search(string $query, int $limit = 10): array { + return []; + } + } + + // Parameter descriptions can only be extracted + // by parsing the function's DocComment. + PHP, after: <<<'PHP' class DB { @@ -216,7 +317,7 @@ $comparisons = [ title: message('isreadable_iswriteable_title', $lang), description: message('isreadable_iswriteable_description', $lang), links: [ - 'RFC|https://wiki.php.net/rfc/parameter-doccomments', + 'RFC|https://wiki.php.net/rfc/isreadable-iswriteable', ], before: '', after: <<<'PHP' @@ -249,10 +350,31 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/readonly_property_defaults', ], before: <<<'PHP' - //TODO + interface Rule + { + public string $parser { get; } + } + + final readonly class SlugRule implements Rule + { + public string $parser; + + public function __construct() + { + $this->parser = SlugParser::class; + } + } PHP, after: <<<'PHP' - //TODO + interface Rule + { + public string $parser { get; } + } + + final readonly class SlugRule implements Rule + { + public string $parser = SlugParser::class; + } PHP, ), ]; @@ -383,22 +505,40 @@ echo ReleasePage::getHeroSection(

    -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • -
  • -
  • -
  • +

    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
From fa7a0f8020704936b3a47af9bce1bd145f881865 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 11:42:24 +0300 Subject: [PATCH 11/27] Apply batched suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index f75afa9484..3511bdb53d 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -107,7 +107,8 @@ $comparisons = [ $read = [$server, ...$clients]; $write = $except = null; - // Based on select(), which typically can't handle more than 1024 connections + // Based on select(), which typically can't handle + // more than 1024 connections stream_select($read, $write, $except, null); foreach ($read as $stream) { @@ -119,7 +120,8 @@ $comparisons = [ $data = fread($stream, 8192); if ($data === '' || $data === false) { - unset($clients[array_search($stream, $clients, true)]); + $key = array_search($stream, $clients, true); + unset($clients[$key]); fclose($stream); } else { fwrite($stream, $data); @@ -142,7 +144,10 @@ $comparisons = [ if ($stream === $server) { $client = stream_socket_accept($server); - $poll->add(new StreamPollHandle($client), [Event::Read]); + $poll->add( + new StreamPollHandle($client), + [Event::Read], + ); continue; } @@ -182,11 +187,18 @@ $comparisons = [ ]); try { - $config = file_get_contents('/etc/app/config.json', context: $context); + $config = file_get_contents( + '/etc/app/config.json', + context: $context, + ); } catch (StreamException $e) { foreach ($e->getErrors() as $error) { // $error->code is a StreamErrorCode enum case - log_error($error->code->name, $error->message, $error->wrapperName); + log_error( + $error->code->name, + $error->message, + $error->wrapperName, + ); } } PHP, @@ -281,7 +293,8 @@ $comparisons = [ * @param string $query Terms to search * @param int $limit Maximum number of results */ - function search(string $query, int $limit = 10): array { + function search(string $query, int $limit = 10): array + { return []; } } @@ -295,7 +308,7 @@ $comparisons = [ /** * Returns up to $limit items matching the $query. */ - function search( + public function search( /** Terms to search */ string $query, @@ -307,7 +320,8 @@ $comparisons = [ } var_dump( - new ReflectionParameter([DB::class, 'search'], 'query')->getDocComment() + new ReflectionParameter([DB::class, 'search'], 'query') + ->getDocComment(), ); // string(22) "/** Terms to search */" PHP, @@ -335,7 +349,7 @@ $comparisons = [ "%s: isReadable=%s isWritable=%s\n", $item, $property->isReadable(null, $entry) ? 'yes' : 'no', - $property->isWritable(null, $entry) ? 'yes' : 'no' + $property->isWritable(null, $entry) ? 'yes' : 'no', ); } // title: isReadable=yes isWritable=yes From f49702196f368cbd6a12ad0784c92f5038683c05 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 11:54:25 +0300 Subject: [PATCH 12/27] Apply suggestions from code review --- include/layout.inc | 6 +++--- public/releases/8.6/release.inc | 6 +++++- public/styles/php85.css | 10 ++++++++++ src/Themes/ReleasePage.php | 15 ++++++++++++--- 4 files changed, 30 insertions(+), 7 deletions(-) diff --git a/include/layout.inc b/include/layout.inc index 176ad76161..104c39d358 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -564,10 +564,10 @@ function get_nav_items(): array { id: 'help', ), new NavItem( - name: 'PHP 8.5', - href: '/releases/8.5/index.php', + name: 'PHP 8.6', + href: '/releases/8.6/index.php', id: 'php8', - image: '/images/php8/logo_php8_5.svg', + image: '/images/php8/logo_php8_6.svg', ) ]; } diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 3511bdb53d..c80608beaa 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -63,6 +63,7 @@ $comparisons = [ description: message('duration_description', $lang), links: [ 'RFC|https://wiki.php.net/rfc/duration_class', + message('documentation', $lang) . "|/manual/$documentation/class.time-duration.php", ], before: '', after: <<<'PHP' @@ -209,6 +210,7 @@ $comparisons = [ description: message('clamp_description', $lang), links: [ 'RFC|https://wiki.php.net/rfc/clamp_v2', + message('documentation', $lang) . "|/manual/$documentation/function.clamp.php", ], before: <<<'PHP' var_dump(max(0, min(-10, 100))); @@ -293,7 +295,7 @@ $comparisons = [ * @param string $query Terms to search * @param int $limit Maximum number of results */ - function search(string $query, int $limit = 10): array + public function search(string $query, int $limit = 10): array { return []; } @@ -410,6 +412,7 @@ echo ReleasePage::getHeroSection( upgradeNow: message('upgrade_now', $lang), whatsNew: message('whats_new', $lang), released: message('released', $lang), + isReleaseAvailable: false, ); ?> @@ -564,6 +567,7 @@ echo ReleasePage::getPrefooter( title: message('footer_title', $lang), upgradeNow: message('upgrade_now', $lang), description: message('footer_description', $lang), + isReleaseAvailable: false, ); site_footer(['footer' => false]); diff --git a/public/styles/php85.css b/public/styles/php85.css index 588705b134..4ad4c72320 100644 --- a/public/styles/php85.css +++ b/public/styles/php85.css @@ -2051,6 +2051,11 @@ footer p:where(.dark,.dark *) { overflow: hidden } +.php85 #layout-content a.button-primary--disabled { + opacity: .7; + cursor: not-allowed; +} + @media (hover: hover) { .php85 #layout-content a.button-primary:hover { background-color: oklab(57.9656% .0459944 -.232052/.9) @@ -2096,6 +2101,11 @@ footer p:where(.dark,.dark *) { overflow: hidden } +.php85 #layout-content a.button-secondary--disabled { + opacity: .7; + cursor: not-allowed; +} + @media (hover: hover) { .php85 #layout-content a.button-secondary:hover { background-color: #f4f4f5f2 diff --git a/src/Themes/ReleasePage.php b/src/Themes/ReleasePage.php index f63a4e9023..79b8d48a50 100644 --- a/src/Themes/ReleasePage.php +++ b/src/Themes/ReleasePage.php @@ -11,6 +11,7 @@ public static function getHeroSection( string $upgradeNow, string $whatsNew = '', string $released = '', + bool $isReleaseAvailable = true, ): string { $releasedBadge = ''; if ($released !== '') { @@ -30,6 +31,10 @@ public static function getHeroSection( $featuresLink = '' . $whatsNew . ''; } + $upgradeLink = $isReleaseAvailable ? + ''. $upgradeNow . '' : + ''. $upgradeNow . ''; + if (!str_starts_with($subtitle, '

')) { $subtitle = '

' . $subtitle . '

'; } @@ -63,17 +68,21 @@ public static function getHeroSection(
$featuresLink - $upgradeNow + $upgradeLink
HTML; } - public static function getPrefooter(string $title, string $upgradeNow, string $description, string $extraCredit = ''): string + public static function getPrefooter(string $title, string $upgradeNow, string $description, string $extraCredit = '', bool $isReleaseAvailable = true): string { $footer = fancy_footer($extraCredit); + $upgradeLink = $isReleaseAvailable ? + ''. $upgradeNow . '' : + ''. $upgradeNow . ''; + return <<

$title

$description From 8c16bb08d0937397a5d5ade0b9da62fb4b7b00ef Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 12:01:40 +0300 Subject: [PATCH 13/27] cs fix --- src/Themes/ReleasePage.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Themes/ReleasePage.php b/src/Themes/ReleasePage.php index 79b8d48a50..940729a01d 100644 --- a/src/Themes/ReleasePage.php +++ b/src/Themes/ReleasePage.php @@ -32,8 +32,8 @@ public static function getHeroSection( } $upgradeLink = $isReleaseAvailable ? - ''. $upgradeNow . '' : - ''. $upgradeNow . ''; + '' . $upgradeNow . '' : + '' . $upgradeNow . ''; if (!str_starts_with($subtitle, '

')) { $subtitle = '

' . $subtitle . '

'; @@ -80,8 +80,8 @@ public static function getPrefooter(string $title, string $upgradeNow, string $d $footer = fancy_footer($extraCredit); $upgradeLink = $isReleaseAvailable ? - ''. $upgradeNow . '' : - ''. $upgradeNow . ''; + '' . $upgradeNow . '' : + '' . $upgradeNow . ''; return << From ad00ad3acc529f83500b78eedcd43ce9bdd5920e Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 12:02:07 +0300 Subject: [PATCH 14/27] Update public/releases/8.6/release.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index c80608beaa..c6953c41a9 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -204,13 +204,13 @@ $comparisons = [ } PHP, ), + new FeatureComparison( new FeatureComparison( id: 'clamp-function', title: message('clamp_title', $lang), description: message('clamp_description', $lang), links: [ 'RFC|https://wiki.php.net/rfc/clamp_v2', - message('documentation', $lang) . "|/manual/$documentation/function.clamp.php", ], before: <<<'PHP' var_dump(max(0, min(-10, 100))); @@ -231,6 +231,15 @@ $comparisons = [ var_dump(clamp(110, 0, 100)); // int(100) + + // Any comparable value works with clamp(). This + // includes the new Duration class. + var_dump(clamp( + \Time\Duration::fromSeconds(30), + min: \Time\Duration::fromMinutes(1), + max: \Time\Duration::fromMinutes(10), + )); + // 60.0s PHP, ), new FeatureComparison( From f093a5b90d865dfb8049c1131418d837af615cb1 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 12:09:03 +0300 Subject: [PATCH 15/27] fix error --- public/releases/8.6/release.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index c6953c41a9..18183cbc82 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -204,7 +204,6 @@ $comparisons = [ } PHP, ), - new FeatureComparison( new FeatureComparison( id: 'clamp-function', title: message('clamp_title', $lang), @@ -231,7 +230,7 @@ $comparisons = [ var_dump(clamp(110, 0, 100)); // int(100) - + // Any comparable value works with clamp(). This // includes the new Duration class. var_dump(clamp( From 458e9f9826f03ae9f24754c34ec64d3341486e3b Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 14:28:52 +0300 Subject: [PATCH 16/27] Add release unavailable note --- public/releases/8.6/languages/en.php | 3 ++- public/releases/8.6/release.inc | 2 ++ public/styles/php85.css | 12 ++++++++++++ src/Themes/ReleasePage.php | 20 +++++++++++++++++--- 4 files changed, 33 insertions(+), 4 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 0d538cee16..59ddb3ab43 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -10,7 +10,8 @@ 'old_version' => 'PHP 8.5 and older', 'badge_new' => 'NEW', 'documentation' => 'Doc', - 'released' => 'Released Nov 19, 2026', + 'released' => 'Will be released on November 19, 2026', + 'release_unavailable_reason' => 'PHP 8.6 has not been released yet. It will be released on November 19, 2026.', 'key_features' => 'Key Features in PHP 8.6', 'key_features_description' => '

Faster, cleaner, and built for developers.

', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 18183cbc82..cb80566aaa 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -421,6 +421,7 @@ echo ReleasePage::getHeroSection( whatsNew: message('whats_new', $lang), released: message('released', $lang), isReleaseAvailable: false, + unavailableReason: message('release_unavailable_reason', $lang), ); ?> @@ -576,6 +577,7 @@ echo ReleasePage::getPrefooter( upgradeNow: message('upgrade_now', $lang), description: message('footer_description', $lang), isReleaseAvailable: false, + unavailableReason: message('release_unavailable_reason', $lang), ); site_footer(['footer' => false]); diff --git a/public/styles/php85.css b/public/styles/php85.css index 4ad4c72320..df8a28e586 100644 --- a/public/styles/php85.css +++ b/public/styles/php85.css @@ -627,6 +627,12 @@ a { } } +.hero .release-unavailable-note { + margin-top: calc(var(--spacing) * 6); + margin-bottom: 0; + font-size: var(--text-sm); +} + .features { isolation: isolate; z-index: 10; @@ -1635,6 +1641,12 @@ a { margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse))) } +.cta-footer-content .release-unavailable-note { + margin-top: calc(var(--spacing) * -6); + margin-bottom: calc(var(--spacing) * 8); + font-size: var(--text-sm); +} + .cta-footer-content p { max-width: var(--container-2xl); --tw-leading: var(--leading-relaxed); diff --git a/src/Themes/ReleasePage.php b/src/Themes/ReleasePage.php index 940729a01d..1c36a6790e 100644 --- a/src/Themes/ReleasePage.php +++ b/src/Themes/ReleasePage.php @@ -12,6 +12,7 @@ public static function getHeroSection( string $whatsNew = '', string $released = '', bool $isReleaseAvailable = true, + string $unavailableReason = '', ): string { $releasedBadge = ''; if ($released !== '') { @@ -33,7 +34,12 @@ public static function getHeroSection( $upgradeLink = $isReleaseAvailable ? '' . $upgradeNow . '' : - '' . $upgradeNow . ''; + '' . $upgradeNow . ''; + + $unavailableNote = ''; + if (!$isReleaseAvailable && $unavailableReason !== '') { + $unavailableNote = '

' . $unavailableReason . '

'; + } if (!str_starts_with($subtitle, '

')) { $subtitle = '

' . $subtitle . '

'; @@ -70,18 +76,24 @@ public static function getHeroSection( $featuresLink $upgradeLink
+ $unavailableNote
HTML; } - public static function getPrefooter(string $title, string $upgradeNow, string $description, string $extraCredit = '', bool $isReleaseAvailable = true): string + public static function getPrefooter(string $title, string $upgradeNow, string $description, string $extraCredit = '', bool $isReleaseAvailable = true, string $unavailableReason = ''): string { $footer = fancy_footer($extraCredit); $upgradeLink = $isReleaseAvailable ? '' . $upgradeNow . '' : - '' . $upgradeNow . ''; + '' . $upgradeNow . ''; + + $unavailableNote = ''; + if (!$isReleaseAvailable && $unavailableReason !== '') { + $unavailableNote = '

' . $unavailableReason . '

'; + } return << @@ -106,6 +118,8 @@ public static function getPrefooter(string $title, string $upgradeNow, string $d $upgradeLink
+ $unavailableNote + $description
From a213f1a540c3d277ed24b99710d8e1a55a181737 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 15:31:44 +0300 Subject: [PATCH 17/27] add: ru translation --- public/releases/8.6/common.php | 1 + public/releases/8.6/languages/ru.php | 79 ++++++++++++++++++++++++++++ public/releases/8.6/ru.php | 5 ++ 3 files changed, 85 insertions(+) create mode 100644 public/releases/8.6/languages/ru.php create mode 100644 public/releases/8.6/ru.php diff --git a/public/releases/8.6/common.php b/public/releases/8.6/common.php index a30f617e19..9db0ee4d6f 100644 --- a/public/releases/8.6/common.php +++ b/public/releases/8.6/common.php @@ -8,6 +8,7 @@ const LANGUAGES = [ 'en' => 'English', + 'ru' => 'Русский', ]; function common_header(string $description): void { diff --git a/public/releases/8.6/languages/ru.php b/public/releases/8.6/languages/ru.php new file mode 100644 index 0000000000..6d168ea5f1 --- /dev/null +++ b/public/releases/8.6/languages/ru.php @@ -0,0 +1,79 @@ + 'PHP 8.6 — большое обновление языка PHP с новыми возможностями, включая частичное применение функций, новый класс Duration, Polling API и новую функцию clamp()', + 'main_title' => 'Лучше, быстрее, надолго', + 'main_subtitle' => '

PHP 8.6 — большое обновление языка PHP. Оно содержит новые возможности, включая частичное применение функций, новый класс Duration, Polling API и новую функцию clamp().

', + + 'whats_new' => 'Что нового в 8.6', + 'upgrade_now' => 'Переходите на PHP 8.6!', + 'old_version' => 'PHP 8.5 и ранее', + 'badge_new' => 'Новинка', + 'documentation' => 'Документация', + 'released' => 'Будет выпущен 19 ноября 2026', + 'release_unavailable_reason' => 'PHP 8.6 ещё не выпущен. Релиз запланирован на 19 ноября 2026 года.', + 'key_features' => 'Основные возможности PHP 8.6', + 'key_features_description' => '

Быстрее, лучше, доступнее для разработчиков.

', + + 'features_pfa_description' => '

Позволяет вызывать функции, передавая лишь часть обязательных параметров, а остальные — позже.

', + 'features_readonly_property_defaults_description' => '

Позволяет задавать значения по умолчанию для readonly-свойств экземпляра.

', + 'features_polling_api_description' => '

Масштабируемое мультиплексирование ввода-вывода на основе epoll, kqueue и других нативных механизмов — для библиотек событийных циклов вроде ReactPHP и AMPHP.

', + 'features_clamp_description' => '

Гарантирует, что значение (числовое или любое другое) находится в заданном диапазоне.

', + 'features_duration_description' => '

Класс Duration представляет прошедшее время, измеренное секундомером.

', + 'features_sort_direction_description' => '

SortDirection — перечисление с двумя вариантами (Ascending и Descending) и без связанного поведения.

', + + 'pfa_title' => 'Частичное применение функций', + 'pfa_description' => 'Позволяет вызывать функции, передавая лишь часть обязательных параметров, а остальные — позже.', + 'readonly_property_defaults_title' => 'Значения по умолчанию для readonly-свойств', + 'readonly_property_defaults_description' => 'Позволяет задавать значения по умолчанию для readonly-свойств экземпляра.', + 'polling_api_title' => 'Polling API', + 'polling_api_description' => 'Новый API Io\Poll эффективно отслеживает множество потоков одновременно, используя лучший механизм, доступный на каждой платформе (epoll, kqueue, event ports или WSAPoll), и не упирается в ограничения масштабируемости stream_select(). Он задуман как общая основа, на которой могут строиться библиотеки событийных циклов, такие как ReactPHP и AMPHP.', + 'clamp_title' => 'Новая функция clamp()', + 'clamp_description' => 'Гарантирует, что заданное значение (числовое или любое другое) находится в указанном диапазоне. В противном случае возвращается ближайшее значение в пределах границ диапазона.', + 'duration_title' => 'Новый класс \Time\Duration', + 'duration_description' => 'Класс Duration представляет прошедшее время, измеренное секундомером. Его представление не привязано ни к какому времени и часовому поясу и позволяет выразить диапазон более чем в 250 лет с точностью до наносекунды. Поэтому он отлично подходит для выразительного представления таймаутов или результатов бенчмарков.', + 'sort_direction_title' => 'Новое перечисление SortDirection', + 'sort_direction_description' => '

SortDirection — перечисление с двумя вариантами (Ascending и Descending) и без связанного поведения.

Подробнее об этой возможности — в блоге PHP Foundation.

', + 'stream_error_handling_title' => 'Обработка ошибок в потоках', + 'stream_error_handling_description' => 'Теперь операции с потоками можно настроить так, чтобы они выбрасывали StreamException или тихо завершались с ошибкой вместо вывода предупреждений. Ошибки сообщаются в виде структурированных объектов StreamError с вариантом перечисления StreamErrorCode, именем обёртки и затронутым путём или URL; их также можно получить позже через stream_last_errors() или передать собственному обработчику ошибок.', + 'doc_comments_title' => 'DocComments для параметров функций', + 'doc_comments_description' => 'Параметры функций и методов теперь могут иметь собственные DocComments, доступные через новый метод ReflectionParameter::getDocComment(). Это позволяет документировать каждый параметр прямо рядом с его объявлением, не повторяя его имя и тип в теге @param.', + 'isreadable_iswriteable_title' => 'Новые методы ReflectionProperty::isReadable() и ReflectionProperty::isWritable()', + 'isreadable_iswriteable_description' => 'С появлением readonly-свойств, асимметричной видимости и хуков свойств проверки на public уже недостаточно, чтобы понять, можно ли прочитать свойство или записать в него. Новые методы отвечают на этот вопрос напрямую для заданной области видимости — и при необходимости для конкретного объекта, — учитывая видимость, состояние инициализации, хуки и магические методы.', + + 'new_classes_title' => 'Дополнительные возможности и улучшения', + 'new_override_constants' => 'Атрибут #[\Override] теперь можно применять к константам классов и вариантам перечислений.', + 'new_enum_debug_info' => 'Перечисления теперь могут реализовывать магический метод __debugInfo().', + 'new_const_object_writes' => 'Свойства объектов, хранящихся в константах, теперь можно изменять напрямую, например: Config::DEFAULTS->timeout = 30.', + 'new_uri_builder' => 'Новые классы Uri\Rfc3986\UriBuilder и Uri\WhatWg\UrlBuilder собирают URI из компонентов. Кроме того, добавлены методы для определения типов URI и хостов и функция Uri\WhatWg\url_percent_encode().', + 'new_sodium' => 'Модуль Sodium получил постквантовое инкапсулирование ключей (X-Wing и ML-KEM-768), шифрование IP-адресов и расширяемые выходные функции SHAKE и TurboSHAKE.', + 'new_tls' => 'TLS-потоки теперь поддерживают возобновление сессий, внешние предварительно общие ключи (PSK) и ранние данные TLS 1.3 (0-RTT).', + 'new_mysqli_quote_string' => 'Новый метод mysqli::quote_string() экранирует строку и заключает её в кавычки, как PDO::quote().', + 'new_pack_endianness' => 'pack() и unpack() теперь принимают модификаторы порядка байтов < и > в кодах формата целых чисел и чисел с плавающей точкой.', + 'new_json_error_location' => 'Сообщения об ошибках JSON теперь включают место ошибки во входных данных.', + 'new_error_include_args' => 'Новая INI-настройка error_include_args последовательно включает аргументы функций в сообщения об ошибках.', + 'new_intl' => 'Новая функция grapheme_strrev() переворачивает строки по графемным кластерам, а новый класс IntlNumberRangeFormatter форматирует диапазоны чисел.', + 'new_zip' => 'Новые методы ZipArchive::openString() и ZipArchive::closeString() работают с архивами в памяти.', + 'new_performance' => 'Среди улучшений производительности — компиляция array_map() с callback-ами первого класса или частичным применением в циклы, более быстрые вызовы printf(), кеширование замыканий без состояния и ускоренное кодирование JSON.', + + 'bc_title' => 'Устаревшая функциональность и изменения в обратной совместимости', + 'bc_return_in_finally' => 'Использование return внутри блока finally объявлено устаревшим: оно молча отбрасывает исключения и перекрывает значения, возвращённые из блока try или catch.', + 'bc_constructor_return' => 'Возврат значения из __construct() или __destruct() и превращение их в генераторы объявлены устаревшими. Объявление nullable-типа возврата для __debugInfo() также устарело.', + 'bc_reserved_identifiers' => 'Использование let или is в качестве имени класса, функции или константы объявлено устаревшим. Также устарело использование _ как имени константы, namespace как имени константы класса и readonly как имени функции.', + 'bc_mbregex' => 'Регулярные функции mbstring, такие как mb_ereg() и mb_split(), объявлены устаревшими, поскольку лежащая в их основе библиотека Oniguruma больше не поддерживается. Вместо них можно использовать функции PCRE с модификатором u.', + 'bc_type_aliases' => 'Псевдонимы is_double(), is_long(), is_integer() и doubleval() объявлены устаревшими. Используйте is_float(), is_int() и floatval().', + 'bc_spl_object_hash' => 'Функция spl_object_hash() объявлена устаревшей в пользу spl_object_id(), а spl_classes() — в пользу ReflectionExtension::getClassNames().', + 'bc_objects_as_arrays' => 'Передача объекта туда, где ожидается массив, в array_walk(), array_walk_recursive(), http_build_query(), mb_convert_variables(), а также в функции и фильтры сжатия объявлена устаревшей. Сначала преобразуйте объект с помощью get_object_vars().', + 'bc_strcoll' => 'Функция strcoll() и флаг сортировки SORT_LOCALE_STRING объявлены устаревшими. Вместо них используйте класс Collator из модуля intl.', + 'bc_ignored_arguments' => 'Передача третьего аргумента в define() объявлена устаревшей, как и вызов is_a() или is_subclass_of() со строкой имени класса, когда $allow_string равен false.', + 'bc_php_filter' => 'Использование более 16 фильтров в URL php://filter без установки контекстной опции filter.max_filter_count объявлено устаревшим.', + 'bc_session_defaults' => 'Сессии теперь безопаснее по умолчанию: включены session.use_strict_mode и session.cookie_httponly, а для session.cookie_samesite задано значение Lax.', + 'bc_session_handlers' => 'Пользовательские обработчики сессий, не реализующие одновременно create_sid() и validateId(), объявлены устаревшими.', + 'bc_other_deprecations' => 'Функции metaphone(), mysqli_get_charset() и mysqli_stmt_init() объявлены устаревшими, как и CSV-методы SplFileObject и методы сортировки, работы с флагами и сериализации ArrayIterator.', + 'bc_trim_form_feed' => 'trim(), ltrim() и rtrim() теперь по умолчанию удаляют и символ перевода страницы (\f).', + 'bc_stream_close_errors' => 'fclose(), file_put_contents() и copy() теперь возвращают false, если сброс или закрытие потока завершилось ошибкой, вместо того чтобы молча её игнорировать.', + 'bc_value_errors' => 'Многие функции теперь выбрасывают ValueError при выходе значения за диапазон, недопустимых флагах или строках с NUL-байтами, вместо того чтобы молча обрезать или игнорировать их.', + + 'footer_title' => 'Выше производительность, лучше синтаксис, надёжнее система типов.', + 'footer_description' => '

Полный список изменений приведён в ChangeLog.

Подробный список новых возможностей и изменений, ломающих обратную совместимость, смотрите в руководстве по миграции.

', +]; diff --git a/public/releases/8.6/ru.php b/public/releases/8.6/ru.php new file mode 100644 index 0000000000..55e44842ed --- /dev/null +++ b/public/releases/8.6/ru.php @@ -0,0 +1,5 @@ + Date: Mon, 16 Nov 2026 16:42:29 +0300 Subject: [PATCH 18/27] Update Duration examples --- public/releases/8.6/release.inc | 45 +++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index cb80566aaa..492f3f5d54 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -65,32 +65,39 @@ $comparisons = [ 'RFC|https://wiki.php.net/rfc/duration_class', message('documentation', $lang) . "|/manual/$documentation/class.time-duration.php", ], - before: '', - after: <<<'PHP' - use Time\Duration; + before: <<<'PHP' + /** + * All delays are in microseconds. + */ + function backoff(int $baseDelay, int $step, int $attempt): void + { + $delay = $baseDelay + ($step * (2 ** $attempt)); - $oneSecond = Duration::fromSeconds(1); - $halfSecond = $oneSecond->divideBy(2); + // Wait at most 30 seconds. + usleep(min($delay, 30_000_000)); + } - $onePointFiveSeconds = $oneSecond->add($halfSecond); + // 1 second base delay, plus 100 milliseconds doubling with each attempt. + backoff(1_000_000, 100_000, $attempt); + PHP, + after: <<<'PHP' + use Time\Duration; - // Sleep for 1.5 seconds - time_nanosleep($onePointFiveSeconds->seconds, $onePointFiveSeconds->nanoseconds); + function backoff(Duration $baseDelay, Duration $step, int $attempt): void + { + $delay = $baseDelay->add($step->multiplyBy(2 ** $attempt)); - $negativeHour = Duration::fromHours(1)->negate(); + // Durations can be compared, so min() and max() work directly. + $delay = min($delay, Duration::fromSeconds(30)); - $durations = [ - $oneSecond, - $negativeHour, - $onePointFiveSeconds, - $halfSecond, - ]; + time_nanosleep($delay->seconds, $delay->nanoseconds); + } - usort($durations, Duration::compare(...)); // Will sort to [-1h, 0.5s, 1s, 1.5s] + backoff(Duration::fromSeconds(1), Duration::fromMilliseconds(100), $attempt); - $baseDelay = Duration::fromMilliseconds(100); - $attempt = 5; - $delay = $baseDelay->multiplyBy(2 ** $attempt); // $delay is equal to 3.2 seconds + // Preconfigure the delays using Partial Function Application. + $waitBeforeRetry = backoff(Duration::fromSeconds(1), Duration::fromMilliseconds(100), ?); + $waitBeforeRetry($attempt); PHP, ), new FeatureComparison( From 9d57d1167aafe37d2da88d30ad904902ddf6ec99 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 16:52:16 +0300 Subject: [PATCH 19/27] Apply batched suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 492f3f5d54..35267cd2d7 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -69,22 +69,29 @@ $comparisons = [ /** * All delays are in microseconds. */ - function backoff(int $baseDelay, int $step, int $attempt): void - { + function backoff( + int $baseDelay, + int $step, + int $attempt, + ): void { $delay = $baseDelay + ($step * (2 ** $attempt)); // Wait at most 30 seconds. usleep(min($delay, 30_000_000)); } - // 1 second base delay, plus 100 milliseconds doubling with each attempt. + // 1 second base delay, plus 100 milliseconds + // doubling with each attempt. backoff(1_000_000, 100_000, $attempt); PHP, after: <<<'PHP' use Time\Duration; - function backoff(Duration $baseDelay, Duration $step, int $attempt): void - { + function backoff( + Duration $baseDelay, + Duration $step, + int $attempt + ): void { $delay = $baseDelay->add($step->multiplyBy(2 ** $attempt)); // Durations can be compared, so min() and max() work directly. @@ -93,10 +100,18 @@ $comparisons = [ time_nanosleep($delay->seconds, $delay->nanoseconds); } - backoff(Duration::fromSeconds(1), Duration::fromMilliseconds(100), $attempt); + backoff( + Duration::fromSeconds(1), + Duration::fromMilliseconds(100), + $attempt, + ); // Preconfigure the delays using Partial Function Application. - $waitBeforeRetry = backoff(Duration::fromSeconds(1), Duration::fromMilliseconds(100), ?); + $waitBeforeRetry = backoff( + Duration::fromSeconds(1), + Duration::fromMilliseconds(100), + attempt: ?, + ); $waitBeforeRetry($attempt); PHP, ), From 252d4aaf46391ff01ca5d1deb30ce9e836a2e937 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 16:54:28 +0300 Subject: [PATCH 20/27] Update public/releases/8.6/release.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 35267cd2d7..6f59dadf9b 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -259,8 +259,8 @@ $comparisons = [ \Time\Duration::fromSeconds(30), min: \Time\Duration::fromMinutes(1), max: \Time\Duration::fromMinutes(10), - )); - // 60.0s + )->seconds); + // int(60) PHP, ), new FeatureComparison( From 03aa2326d50ed250a14fbaa394d52a77c95f87a1 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Mon, 16 Nov 2026 08:24:20 -0600 Subject: [PATCH 21/27] Clarify Partial Function Application description on 8.6 release page (#53) The previous wording implied the function is called with a subset of its parameters. In reality, partial application returns a Closure, and the function is only called once the remaining arguments are provided. --- public/releases/8.6/languages/en.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 59ddb3ab43..be0949bcfe 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -15,7 +15,7 @@ 'key_features' => 'Key Features in PHP 8.6', 'key_features_description' => '

Faster, cleaner, and built for developers.

', - 'features_pfa_description' => '

Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.

', + 'features_pfa_description' => '

Allows some of a function\'s arguments to be provided in advance, returning a Closure that accepts the rest.

', 'features_readonly_property_defaults_description' => '

Allows default values for instance readonly properties.

', 'features_polling_api_description' => '

Scalable I/O multiplexing using epoll, kqueue, and other native mechanisms, available to event loop libraries like ReactPHP and AMPHP.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', @@ -23,7 +23,7 @@ 'features_sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

', 'pfa_title' => 'Partial Function Application', - 'pfa_description' => 'Allows functions to be called with only a subset of the required parameters, deferring the passing of the remaining ones to a later time.', + 'pfa_description' => 'Allows some of a function\'s arguments to be provided in advance, using ? and ... placeholders for the rest. The result is a Closure, and the function is only called once the remaining arguments are passed to it.', 'readonly_property_defaults_title' => 'Readonly property defaults', 'readonly_property_defaults_description' => 'Allows default values for instance readonly properties.', 'polling_api_title' => 'Polling API', From 8582eaad0e4b0a4159ff81fb6a903a2dd8111016 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 17:36:32 +0300 Subject: [PATCH 22/27] Update public/releases/8.6/release.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- public/releases/8.6/release.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 6f59dadf9b..14d0d1e1f4 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -94,7 +94,7 @@ $comparisons = [ ): void { $delay = $baseDelay->add($step->multiplyBy(2 ** $attempt)); - // Durations can be compared, so min() and max() work directly. + // Durations are comparable, so min() works directly. $delay = min($delay, Duration::fromSeconds(30)); time_nanosleep($delay->seconds, $delay->nanoseconds); From 3548e50bd1c73d778d4944e7d53f271968bec72b Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Mon, 16 Nov 2026 23:26:15 +0300 Subject: [PATCH 23/27] add cache_control --- public/releases/8.6/common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/releases/8.6/common.php b/public/releases/8.6/common.php index 9db0ee4d6f..c54f4c8f58 100644 --- a/public/releases/8.6/common.php +++ b/public/releases/8.6/common.php @@ -28,6 +28,7 @@ function common_header(string $description): void { 'css' => ['php85.css'], 'language_switcher' => $languages, 'theme_switcher' => true, + 'cache_control' => 60 * 60, // 1 hour 'meta_tags' => << From e239d36f5ea0391aacedd92d5dd74da2eda91e27 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Tue, 17 Nov 2026 14:15:58 +0300 Subject: [PATCH 24/27] revert nav menu item --- include/layout.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/layout.inc b/include/layout.inc index 104c39d358..176ad76161 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -564,10 +564,10 @@ function get_nav_items(): array { id: 'help', ), new NavItem( - name: 'PHP 8.6', - href: '/releases/8.6/index.php', + name: 'PHP 8.5', + href: '/releases/8.5/index.php', id: 'php8', - image: '/images/php8/logo_php8_6.svg', + image: '/images/php8/logo_php8_5.svg', ) ]; } From 6486f0ff6fee1bea922dbe95aa70ee1a0a7d1b75 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Tue, 17 Nov 2026 14:20:03 +0300 Subject: [PATCH 25/27] Apply suggestions from code review --- public/releases/8.6/release.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 14d0d1e1f4..541deabd10 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -25,6 +25,7 @@ $comparisons = [ description: message('pfa_description', $lang), links: [ 'RFC|https://wiki.php.net/rfc/partial_function_application_v2', + message('documentation', $lang) . "|/manual/$documentation/functions.partial-application.php", ], before: <<<'PHP' $versions = [ @@ -90,7 +91,7 @@ $comparisons = [ function backoff( Duration $baseDelay, Duration $step, - int $attempt + int $attempt, ): void { $delay = $baseDelay->add($step->multiplyBy(2 ** $attempt)); @@ -269,6 +270,7 @@ $comparisons = [ description: message('sort_direction_description', $lang), links: [ 'RFC|https://wiki.php.net/rfc/sort_direction_enum', + message('documentation', $lang) . "|/manual/$documentation/enum.sortdirection.php", ], before: <<<'PHP' class QueryBuilder From 51ea23959be870f673a6bce7ddb93e859411790c Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Tue, 17 Nov 2026 09:33:44 -0600 Subject: [PATCH 26/27] Improve 8.6 release page descriptions and examples (#54) * Improve readonly property defaults description on 8.6 release page Explain why the feature is useful (implementing get-only interface properties with fixed values without constructor boilerplate) and note that the default counts as the property's initialization. * Shorten Partial Function Application example on 8.6 release page Declare the versions array on a single line and use a shorter variable name so the relevant code is more prominent. * Improve SortDirection description and example on 8.6 release page Explain how the enum benefits users by replacing the many incompatible ways that libraries previously represented sort direction, rather than focusing on its lack of behavior. Use a realistic orderBy() example that shows how an invalid integer is accepted by the signature and then fails inside the method, whereas the enum parameter rejects it immediately with a TypeError. --- public/releases/8.6/languages/en.php | 8 ++-- public/releases/8.6/release.inc | 70 +++++++++++++--------------- 2 files changed, 36 insertions(+), 42 deletions(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index be0949bcfe..4654625600 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -16,16 +16,16 @@ 'key_features_description' => '

Faster, cleaner, and built for developers.

', 'features_pfa_description' => '

Allows some of a function\'s arguments to be provided in advance, returning a Closure that accepts the rest.

', - 'features_readonly_property_defaults_description' => '

Allows default values for instance readonly properties.

', + 'features_readonly_property_defaults_description' => '

Allows readonly properties to declare default values, so fixed values no longer have to be assigned in the constructor.

', 'features_polling_api_description' => '

Scalable I/O multiplexing using epoll, kqueue, and other native mechanisms, available to event loop libraries like ReactPHP and AMPHP.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', 'features_duration_description' => '

The Duration class represents elapsed time as measured by a stopwatch.

', - 'features_sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

', + 'features_sort_direction_description' => '

A standard, type-safe way to express sort order, shared across libraries.

', 'pfa_title' => 'Partial Function Application', 'pfa_description' => 'Allows some of a function\'s arguments to be provided in advance, using ? and ... placeholders for the rest. The result is a Closure, and the function is only called once the remaining arguments are passed to it.', 'readonly_property_defaults_title' => 'Readonly property defaults', - 'readonly_property_defaults_description' => 'Allows default values for instance readonly properties.', + 'readonly_property_defaults_description' => 'Instance readonly properties, including those in readonly classes, can now declare a default value. This makes it simple to implement get-only interface properties with fixed values, which previously required assigning them in a constructor. The default counts as the property\'s initialization, so the constructor cannot overwrite it.', 'polling_api_title' => 'Polling API', 'polling_api_description' => 'The new Io\Poll API efficiently monitors many streams at once using the best mechanism available on each platform (epoll, kqueue, event ports, or WSAPoll), without the scalability limits of stream_select(). It is designed as a common foundation that event loop libraries such as ReactPHP and AMPHP can build on.', 'clamp_title' => 'New clamp() function', @@ -33,7 +33,7 @@ 'duration_title' => 'New \Time\Duration class', 'duration_description' => 'The Duration class represents elapsed time as measured by a stopwatch. Its representation is independent of any time and timezone and allows to represent a range of more than 250 years with nanosecond precision. This makes it well-suited to represent timeouts or benchmark timings in an expressive way.', 'sort_direction_title' => 'New SortDirection enum', - 'sort_direction_description' => '

SortDirection is an enum with exactly two cases (Ascending and Descending) and no associated behavior.

Learn more about this feature in The PHP Foundation’s blog.

', + 'sort_direction_description' => '

The SortDirection enum provides a shared, type-safe way to express sort order with its Ascending and Descending cases. Previously, every library had to define its own way of representing sort direction, resulting in a mix of incompatible integers, strings, booleans, and custom enums. Since SortDirection is built into PHP, libraries can accept it in their public APIs without needing adapter code.

Learn more about this feature in The PHP Foundation’s blog.

', 'stream_error_handling_title' => 'Stream Error Handling', 'stream_error_handling_description' => 'Stream operations can now be configured to throw a StreamException or to fail silently instead of emitting warnings. Errors are reported as structured StreamError objects with a StreamErrorCode enum case, the wrapper name, and the affected path or URL, and can also be retrieved later with stream_last_errors() or passed to a custom error handler.', 'doc_comments_title' => 'DocComments For Function Parameters', diff --git a/public/releases/8.6/release.inc b/public/releases/8.6/release.inc index 541deabd10..d04bba0db5 100644 --- a/public/releases/8.6/release.inc +++ b/public/releases/8.6/release.inc @@ -28,31 +28,17 @@ $comparisons = [ message('documentation', $lang) . "|/manual/$documentation/functions.partial-application.php", ], before: <<<'PHP' - $versions = [ - '8.4', - '8.5', - '8.6', - '8.7', - // … - '9.0', - ]; - - $supportsPartialFunctionApplication = array_filter( + $versions = ['8.4', '8.5', '8.6', '8.7', '9.0']; + + $supported = array_filter( $versions, fn ($version) => version_compare($version, '8.6', '>='), ); PHP, after: <<<'PHP' - $versions = [ - '8.4', - '8.5', - '8.6', - '8.7', - // … - '9.0', - ]; - - $supportsPartialFunctionApplication = array_filter( + $versions = ['8.4', '8.5', '8.6', '8.7', '9.0']; + + $supported = array_filter( $versions, version_compare(?, '8.6', '>='), ); @@ -275,40 +261,48 @@ $comparisons = [ before: <<<'PHP' class QueryBuilder { - private int $sort; + private array $orderBy = []; - public function setSort(int $sort): void - { - $this->sort = $sort; - } - - private function getSortKeyword(): string - { - return match($this->sort) { + public function orderBy( + string $column, + int $direction = SORT_ASC, + ): static { + $this->orderBy[] = $column . ' ' . match ($direction) { SORT_ASC => 'ASC', SORT_DESC => 'DESC', }; + + return $this; } } + + $qb->orderBy('name', SORT_DESC); + $qb->orderBy('name', SORT_STRING); + // Accepted by the signature, then fails inside the method: + // UnhandledMatchError: Unhandled match case 2 PHP, after: <<<'PHP' class QueryBuilder { - private SortDirection $sort; - - public function setSort(SortDirection $sort): void - { - $this->sort = $sort; - } + private array $orderBy = []; - private function getSortKeyword(): string - { - return match($this->sort) { + public function orderBy( + string $column, + SortDirection $direction = SortDirection::Ascending, + ): static { + $this->orderBy[] = $column . ' ' . match ($direction) { SortDirection::Ascending => 'ASC', SortDirection::Descending => 'DESC', }; + + return $this; } } + + $qb->orderBy('name', SortDirection::Descending); + $qb->orderBy('name', SORT_STRING); + // TypeError: QueryBuilder::orderBy(): Argument #2 ($direction) + // must be of type SortDirection, int given PHP, ), new FeatureComparison( From a68f9cddfb2ac0db12ed44ad9cfe9884ff894699 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Tue, 17 Nov 2026 09:52:44 -0600 Subject: [PATCH 27/27] Tweak SortDirection short description (#55) --- public/releases/8.6/languages/en.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 4654625600..000fb68ecb 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -20,7 +20,7 @@ 'features_polling_api_description' => '

Scalable I/O multiplexing using epoll, kqueue, and other native mechanisms, available to event loop libraries like ReactPHP and AMPHP.

', 'features_clamp_description' => '

Ensures that a given value (numeric or otherwise) falls within a specified range.

', 'features_duration_description' => '

The Duration class represents elapsed time as measured by a stopwatch.

', - 'features_sort_direction_description' => '

A standard, type-safe way to express sort order, shared across libraries.

', + 'features_sort_direction_description' => '

A standard, type-safe way to express sort order that can be shared across libraries.

', 'pfa_title' => 'Partial Function Application', 'pfa_description' => 'Allows some of a function\'s arguments to be provided in advance, using ? and ... placeholders for the rest. The result is a Closure, and the function is only called once the remaining arguments are passed to it.',