Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
symfony
/
string
Public
Notifications
You must be signed in to change notification settings
Fork
20
Star
1.8k
Code
Actions
Security and quality
0
Insights
Additional navigation options
Code
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
string
AbstractUnicodeString.php
on
8.2
User selector
All users
All time
Commit history
Commits on May 5, 2026
Mark callbacks with @param-immediately-invoked-callable where applicable
janedbal
authored and
nicolas-grekas
committed
760b920
View commit details
Copy full SHA for 760b920
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Merge branch '6.4' into 7.4
Show description for c014598
nicolas-grekas
committed
c014598
View commit details
Copy full SHA for c014598
View code at this point
Browse repository at this point
fix compatibility with PCRE < 10.40
xabbuh
committed
a219124
View commit details
Copy full SHA for a219124
View code at this point
Browse repository at this point
Commits on Feb 5, 2026
Merge branch '6.4' into 7.4
Show description for 61360dc
nicolas-grekas
committed
61360dc
View commit details
Copy full SHA for 61360dc
View code at this point
Browse repository at this point
[String] Treat emoji VS16 as wide in width calc
fabpot
authored and
nicolas-grekas
committed
4695d63
View commit details
Copy full SHA for 4695d63
View code at this point
Browse repository at this point
Commits on Jul 15, 2025
optimize `in_array` calls
gharlan
authored and
nicolas-grekas
committed
89ecb57
View commit details
Copy full SHA for 89ecb57
View code at this point
Browse repository at this point
Commits on Jul 10, 2025
CS fixes
nicolas-grekas
committed
f0ce0bd
View commit details
Copy full SHA for f0ce0bd
View code at this point
Browse repository at this point
Commits on Jun 24, 2025
[String] Leverage grapheme_str_split()
nicolas-grekas
committed
4afdf19
View commit details
Copy full SHA for 4afdf19
View code at this point
Browse repository at this point
Commits on Apr 20, 2025
Merge branch '6.4' into 7.2
Show description for a214fe7
xabbuh
committed
a214fe7
View commit details
Copy full SHA for a214fe7
View code at this point
Browse repository at this point
Commits on Apr 17, 2025
ignore the current locale before transliterating ASCII codes with iconv()
xabbuh
committed
71c3695
View commit details
Copy full SHA for 71c3695
View code at this point
Browse repository at this point
Commits on Jul 4, 2024
Merge branch '7.1' into 7.2
Show description for 9e83b60
derrabus
committed
9e83b60
View commit details
Copy full SHA for 9e83b60
View code at this point
Browse repository at this point
Merge branch '7.0' into 7.1
Show description for 12d75e4
derrabus
committed
12d75e4
View commit details
Copy full SHA for 12d75e4
View code at this point
Browse repository at this point
Merge branch '5.4' into 6.4
Show description for 9989c22
derrabus
committed
9989c22
View commit details
Copy full SHA for 9989c22
View code at this point
Browse repository at this point
Commits on Jul 1, 2024
[String] Revert "Fixed u()->snake(), b()->snake() and s()->snake() methods"
nicolas-grekas
authored and
fabpot
committed
76d8b2b
View commit details
Copy full SHA for 76d8b2b
View code at this point
Browse repository at this point
Commits on Jun 29, 2024
normalize underscores in snake()
xabbuh
committed
a382cfb
View commit details
Copy full SHA for a382cfb
View code at this point
Browse repository at this point
Commits on Jun 28, 2024
Merge branch '7.1' into 7.2
Show description for 96f70c7
nicolas-grekas
committed
96f70c7
View commit details
Copy full SHA for 96f70c7
View code at this point
Browse repository at this point
Merge branch '7.0' into 7.1
Show description for 1422108
nicolas-grekas
committed
1422108
View commit details
Copy full SHA for 1422108
View code at this point
Browse repository at this point
Merge branch '5.4' into 6.4
Show description for 76792db
nicolas-grekas
committed
76792db
View commit details
Copy full SHA for 76792db
View code at this point
Browse repository at this point
Commits on Jun 26, 2024
[String] Fix *String::snake methods
Show description for 5fe083e
arczinosek
committed
5fe083e
View commit details
Copy full SHA for 5fe083e
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
Prefix all sprintf() calls
derrabus
committed
adfa98a
View commit details
Copy full SHA for adfa98a
View code at this point
Browse repository at this point
Commits on May 17, 2024
Merge branch '7.0' into 7.1
Show description for 6f41b18
fabpot
committed
6f41b18
View commit details
Copy full SHA for 6f41b18
View code at this point
Browse repository at this point
Merge branch '5.4' into 6.4
Show description for d683a4c
fabpot
committed
d683a4c
View commit details
Copy full SHA for d683a4c
View code at this point
Browse repository at this point
Commits on May 15, 2024
[String] Fix folded in compat mode
smnandre
authored and
nicolas-grekas
committed
eb775bb
View commit details
Copy full SHA for eb775bb
View code at this point
Browse repository at this point
Commits on Jan 23, 2024
Merge branch '7.0' into 7.1
Show description for 720244a
nicolas-grekas
committed
720244a
View commit details
Copy full SHA for 720244a
View code at this point
Browse repository at this point
Merge branch '6.3' into 6.4
Show description for 6901a54
nicolas-grekas
committed
6901a54
View commit details
Copy full SHA for 6901a54
View code at this point
Browse repository at this point
Merge branch '5.4' into 6.3
Show description for bce7504
nicolas-grekas
committed
bce7504
View commit details
Copy full SHA for bce7504
View code at this point
Browse repository at this point
Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
nicolas-grekas
committed
c209c4d
View commit details
Copy full SHA for c209c4d
View code at this point
Browse repository at this point
Commits on Nov 18, 2023
[String] New locale aware casing methods
bram123
authored and
fabpot
committed
2172dad
View commit details
Copy full SHA for 2172dad
View code at this point
Browse repository at this point
Commits on Jul 27, 2023
More short closures + isset instead of null checks + etc.
nicolas-grekas
committed
fe9228b
View commit details
Copy full SHA for fe9228b
View code at this point
Browse repository at this point
Commits on Jul 25, 2023
Add types to private and internal properties
nicolas-grekas
committed
45d5e7c
View commit details
Copy full SHA for 45d5e7c
View code at this point
Browse repository at this point
Commits on Mar 21, 2023
Replace "use-by-ref" by static vars when possible in closures
nicolas-grekas
committed
f2e190e
View commit details
Copy full SHA for f2e190e
View code at this point
Browse repository at this point
Commits on Feb 22, 2023
[String] Remove unused private constant
alamirault
committed
d5031e3
View commit details
Copy full SHA for d5031e3
View code at this point
Browse repository at this point
Commits on Feb 2, 2023
Merge branch '6.2' into 6.3
Show description for 04d148a
fabpot
committed
04d148a
View commit details
Copy full SHA for 04d148a
View code at this point
Browse repository at this point
Merge branch '5.4' into 6.2
Show description for 59a0524
fabpot
committed
59a0524
View commit details
Copy full SHA for 59a0524
View code at this point
Browse repository at this point
Commits on Jan 30, 2023
[String] Remove duplicates in fold maps
alexandre-daubois
committed
5a3ce20
View commit details
Copy full SHA for 5a3ce20
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.