Skip to content

ext/intl: get_icu_value_internal() to reduce manual memory manageme… - #19433

Merged
devnexen merged 3 commits into
php:masterfrom
devnexen:intl_locale_methods
Aug 3, 2026
Merged

ext/intl: get_icu_value_internal() to reduce manual memory manageme…#19433
devnexen merged 3 commits into
php:masterfrom
devnexen:intl_locale_methods

Conversation

@devnexen

@devnexen devnexen commented Aug 9, 2025

Copy link
Copy Markdown
Member

…nt a bit.

@devnexen
devnexen marked this pull request as ready for review August 9, 2025 21:03
@devnexen devnexen changed the title ext/locale: get_icu_value_internal() to reduce manual memory manageme… ext/intl: get_icu_value_internal() to reduce manual memory manageme… Aug 9, 2025

@LamentXU123 LamentXU123 left a comment

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.

Make sense. But I think this still needs to go through CI after rebasing to master
Be careful something has been changed (const qualifiers and the UNEXPECTED macro additions)

@LamentXU123

LamentXU123 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Also you may need to #include <memory> in some cases.

@devnexen
devnexen force-pushed the intl_locale_methods branch from d55c856 to d1ade85 Compare August 3, 2026 18:12
@devnexen
devnexen force-pushed the intl_locale_methods branch from d1ade85 to 464dd1f Compare August 3, 2026 18:15
@devnexen
devnexen merged commit 0920f2a into php:master Aug 3, 2026
18 checks passed
@devnexen
devnexen deleted the intl_locale_methods branch August 3, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants