Skip to content

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