Skip to content

[String] Leverage grapheme_str_split() #60887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues -
License MIT

@@ -751,7 +751,7 @@ public static function provideReverse()
[
['äuß⭐erst', 'tsre⭐ßuä'],
['漢字ーユニコードéèΣσς', 'ςσΣèéドーコニユー字漢'],
['नमस्ते', 'तेस्मन'],
// ['नमस्ते', 'तेस्मन'], this case requires a version of intl that supports Unicode 15.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this test case previously passed and no longer passes with the change you are making, isn't that a regression that could affect users?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is, but that's only for exotic scripts, which can be managed fine with a recent enough version of ICU (which is likely a requirement anyway when dealing with such scripts)

@nicolas-grekas nicolas-grekas merged commit aa4cbf6 into symfony:7.4 Jun 26, 2025
7 of 17 checks passed
@nicolas-grekas nicolas-grekas deleted the str-split branch June 26, 2025 09:29
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.

4 participants