Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Replace str_starts_with by strncmp (PHP7 compatibility) #1000

Merged
merged 1 commit into from Oct 24, 2023

Conversation

PROFeNoM
Copy link
Contributor

Hi 馃憢

The v1.21.0 tag release made a few hours ago started breaking compatibility with PHP7 because of the use of str_starts_with.

This PR replaces str_starts_with by strncmp, as suggested by the rfc 馃槂

@fabpot
Copy link
Member

fabpot commented Oct 24, 2023

Thank you @PROFeNoM.

@fabpot fabpot merged commit 7c191ea into symfony:1.x Oct 24, 2023
9 of 10 checks passed
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.

None yet

2 participants