Skip to content

[String] fix typo #13551

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
Apr 15, 2020
Merged

[String] fix typo #13551

merged 1 commit into from
Apr 15, 2020

Conversation

nicolas-grekas
Copy link
Member

No description provided.

@@ -152,7 +152,7 @@ There is also a method to get the bytes stored at some position::
b('नमस्ते')->bytesAt(0); // [224]
u('नमस्ते')->bytesAt(0); // [224, 164, 168]

b('नमस्ते')->bytesAt(1); // [168]
b('नमस्ते')->bytesAt(1); // [164]
u('नमस्ते')->bytesAt(1); // [224, 164, 184, 224, 165, 141]
Copy link
Member

Choose a reason for hiding this comment

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

If I'm reading the image correctly, shouldn't this one be [224, 164, 174]?

Copy link
Member Author

Choose a reason for hiding this comment

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

correct, fixed also

@javiereguiluz
Copy link
Member

Thank you Nicolas.

@javiereguiluz javiereguiluz merged commit 434804a into symfony:5.0 Apr 15, 2020
@nicolas-grekas nicolas-grekas deleted the string-fix branch May 10, 2025 17: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.

4 participants