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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1] Keep PHP 7 compatibility #8373

Merged

Conversation

MissAllSunday
Copy link
Contributor

Does SMF uses a polyfill? I couldn't find a reference to it. If it does, please disregard this PR.

Currently SMF 2.1 list PHP 7.0 as its minimum supported version, however while working on a mod, I found a call to str_contains() which is only available since PHP 8.

This PR changes it to strpos()

@MissAllSunday MissAllSunday changed the title Keep PHP 7 compatibility [2.1] Keep PHP 7 compatibility Dec 24, 2024
@Sesquipedalian Sesquipedalian merged commit 2c0ec23 into SimpleMachines:release-2.1 Dec 25, 2024
8 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.

2 participants