Skip to content

Resolve UConverter callbacks after clone - #235

Closed
iliaal wants to merge 1 commit into
PHP-8.5from
fix/intl-uconverter-clone-callback
Closed

Resolve UConverter callbacks after clone#235
iliaal wants to merge 1 commit into
PHP-8.5from
fix/intl-uconverter-clone-callback

Conversation

@iliaal

@iliaal iliaal commented Aug 16, 2026

Copy link
Copy Markdown
Owner

UConverter::__construct() fills to_cache/from_cache. clone only retargeted the ICU C callbacks and left those FCCs zeroed, so the first callback-worthy convert called zend_call_known_fcc on a NULL handler. Resolve both caches on the clone.

__construct fills to_cache/from_cache via php_converter_resolve_callback.
clone only retargeted the ICU C callbacks, leaving the FCC zeroed, so
the first callback-worthy convert called zend_call_known_fcc on a NULL
handler. Resolve both caches on the clone.
@iliaal
iliaal changed the base branch from master to PHP-8.5 August 16, 2026 16:59
@iliaal
iliaal force-pushed the fix/intl-uconverter-clone-callback branch from 1092736 to df55043 Compare August 16, 2026 16:59
@iliaal

iliaal commented Aug 16, 2026

Copy link
Copy Markdown
Owner Author

Promoted: php#23324

@iliaal iliaal closed this Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant