[php-src] PR #23446: [skip ci] UPGRADING: document the unpack() element name BC break
| From: | alexandre-daubois | Date: | Tue, 25 Aug 2026 08:54:16 +0000 |
| Subject: | [php-src] PR #23446: [skip ci] UPGRADING: document the unpack() element name BC break | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38122@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23446
Author: alexandre-daubois
A "<" or ">" directly following a format code is now consumed as an
endianness modifier, so unpack() element names starting with either character resolve differently or
throw.
Spotted here: https://github.com/php/php-src/pull/21074#discussion_r3845761771
I think the feature is niche enough to drop support of a name starting with a chevron, which is
really unlikely to happen.