Skip to content

[pull] master from php:master#1016

Merged
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master
Jun 20, 2026
Merged

[pull] master from php:master#1016
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 20, 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 : )

LamentXU123 and others added 6 commits June 20, 2026 12:35
When the value of the parameter of openlog() contains NUL byte(s),
throw a ValueError instead of silently truncates it.
)

Locale::lookup() and locale_lookup() should not return the fallback locale
when canonicalizing a language tag fails. Returning the fallback hid the
intl error raised by lookup_loc_range() for invalid language tags.

Return NULL in that error case instead, while preserving the exception path
when intl.use_exceptions is enabled.

Closes #22306
* PHP-8.4:

  ext/intl: Fix Locale::lookup() fallback on invalid language tags (#22306)
* PHP-8.5:

  ext/intl: Fix Locale::lookup() fallback on invalid language tags (#22306)
PHP 8.5 prefixes intl error messages with the calling function name. Update
the regression test expectations to match the branch behavior for
Locale::lookup() and locale_lookup().
* PHP-8.5:
  ext/intl: Fix Locale::lookup() test expectations (#22306)
@pull pull Bot locked and limited conversation to collaborators Jun 20, 2026
@pull pull Bot added the ⤵️ pull label Jun 20, 2026
@pull pull Bot merged commit d87d0c6 into turkdevops:master Jun 20, 2026
0 of 2 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.

2 participants