Skip to content

PHP 8.6 migration guide - #5900

Open
jordikroon wants to merge 13 commits into
php:masterfrom
jordikroon:php86-migrationguide
Open

jordikroon wants to merge 13 commits into
php:masterfrom
jordikroon:php86-migrationguide

Conversation

@jordikroon

@jordikroon jordikroon commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

This migration guide is based on the PHP 8.6 UPGRADE NOTES.

If you do notice anything is missing from the UPGRADING file, please include it and let us know so we can reflect that in the guide.

<link linkend="object.isset">__isset()</link> has materialized the
property by writing into the property table.
The freshly-written value is returned directly.
<function>isset</function> is unaffected.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<function>isset</function> is unaffected.
<function>isset</function> applied directly to the property is unaffected;
nested forms such as <literal>isset($o-&gt;p['k'])</literal> follow the same
path as <literal>??</literal>.

Comment on lines +211 to +212
(big-endian) modifiers after the signed and unsigned integer format codes,
and after the float and double format codes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(big-endian) modifiers after the signed and unsigned integer format codes,
and after the float and double format codes.
(big-endian) modifiers after the <literal>s</literal>, <literal>S</literal>,
<literal>l</literal>, <literal>L</literal>, <literal>q</literal> and
<literal>Q</literal> integer format codes, and after the
<literal>f</literal> and <literal>d</literal> float and double format codes.


<para>
Added the <literal>"write_seek_mode"</literal> filter parameter for the
bz2, iconv, zlib, and <link linkend="filters.string">string</link> stream

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bz2, iconv, zlib, and <link linkend="filters.string">string</link> stream
bz2, iconv, zlib, and <link linkend="filters.convert">convert</link> stream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants