Skip to content

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

Merged
fabpot merged 1 commit intosymfony:1.xfrom
PROFeNoM:1.x
Oct 24, 2023
Merged

fix: Replace str_starts_with by strncmp (PHP7 compatibility)#1000
fabpot merged 1 commit intosymfony:1.xfrom
PROFeNoM:1.x

Conversation

@PROFeNoM
Copy link
Copy Markdown
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
Copy Markdown
Member

fabpot commented Oct 24, 2023

Thank you @PROFeNoM.

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

2 participants