Skip to content

[pull] master from php:master - #1238

Merged
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master
Sep 2, 2026
Merged

[pull] master from php:master#1238
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Sep 2, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

lacatoire and others added 3 commits September 2, 2026 10:59
…23533)

- php_intl_idn_handoff() takes domain, flags, variant, so the variant
check must report argument 3; it hardcodes 2, which makes idn_to_ascii()
and idn_to_utf8() blame $flags for a value carried by $variant.
- The message concatenated PRId32 as a literal instead of using it as a
conversion, so it read "must be less than d bytes" and INT32_MAX was
never printed.
Covariant return types for clone() were only introduced in ICU 65;
before that NumberFormat::clone() returns Format*, so cast the result
explicitly in NumberFormatter_object_clone().

<unicode/numberrangeformatter.h> is a C++-only header, and older ICU
does not wrap it in U_SHOW_CPLUSPLUS_API, so including it from
php_intl.c breaks the C compile.  Move it into the __cplusplus branch,
next to the using declaration that needs it.
@pull pull Bot locked and limited conversation to collaborators Sep 2, 2026
@pull pull Bot added the ⤵️ pull label Sep 2, 2026
@pull
pull Bot merged commit 386a467 into turkdevops:master Sep 2, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants