Repository navigation
Stdlib: IntlBreakIterator preceding/following/isBoundary/getLocale (#20771) - #20783
Merged
Merged
Conversation
PurHur
force-pushed
the
fix/20771-breakiterator-preceding
branch
from
July 19, 2026 01:49
57b055b to
dd6a4e2
Compare
…20771) Wire random-access boundary APIs and locale/error getters on the existing ICU/fallback boundaries state so PROFILE=8.4 matches php-src breakiterator. Co-authored-by: Cursor <cursoragent@cursor.com>
ci-fast auto-heal for 5831/5831 footnotes and VmDom construct-flag refresh. Co-authored-by: Cursor <cursoragent@cursor.com>
Regenerate construct flags so VmBreakIterator preceding APIs are listed. Co-authored-by: Cursor <cursoragent@cursor.com>
PurHur
force-pushed
the
fix/20771-breakiterator-preceding
branch
from
July 19, 2026 01:53
dd6a4e2 to
33cdd0e
Compare
This was referenced Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ext/intl/VmBreakIterator.phpwithpreceding/following/isBoundary/getLocale/getErrorCode/getErrorMessageon the existing ICUubrk_*+ ASCII fallback boundary table (php-srcext/intl/breakiterator/)..phpt+ unit coverage; JIT MCJIT PHPT skipped for knownWeakRefNativeOpsJit::nullSlotharness abort (same as ResourceBundle Stdlib: ResourceBundle::getLocales()/getErrorCode()/getErrorMessage() missing after #6187 (ext/intl/resourcebundle) #20739) —bin/jit.phprepro is green.docs/bootstrap-inventory.md(OK 5831/5831).php-src reference:
ext/intl/breakiterator/breakiterator.stub.php,breakiterator_methods.cpp(ubrk_preceding/ubrk_following/ubrk_isBoundary).PHP-in-PHP: no new C runtime.
Closes #20771
Test plan
PHP_COMPILER_PROFILE=8.4 php bin/vm.php test/repro/issue_20771_breakiterator_preceding.phpPHP_COMPILER_PROFILE=8.4 php bin/jit.php test/repro/issue_20771_breakiterator_preceding.php./script/phpunit.sh --filter test_breakiterator(2 tests)PHP_COMPILER_PROFILE=8.4 vendor/bin/phpunit --filter breakiterator_preceding test/compliance/VMTest.phpphp script/bootstrap-inventory.php --check→ OK 5831/5831./script/ci-fast.sh(running)Collator::compare/setTextalso fail at compile) — not introduced here.Verification transcript (VM)
Matches Zend 8.4+intl on
Hello worldword breaks (0 5 6 11).Made with Cursor