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

str_contains works on PHP 7.4 #3170

Closed
803Dyse opened this issue Feb 8, 2024 · 2 comments
Closed

str_contains works on PHP 7.4 #3170

803Dyse opened this issue Feb 8, 2024 · 2 comments

Comments

@803Dyse
Copy link

803Dyse commented Feb 8, 2024

From manual page: https://php.net/function.str-contains


Also me and my partner tested the method and works fine. The problem is the documentation which displays "PHP 8.0" as the version of method, when on the real 7.4 supports it 😘

@Girgias
Copy link
Member

Girgias commented Feb 8, 2024

It does not, the function only exists as of PHP 8.0.0, you might be using a polyfill such as https://github.com/symfony/polyfill-php80

@Girgias Girgias closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
@803Dyse
Copy link
Author

803Dyse commented Feb 8, 2024

You're right buddy. Thanks for the explanation.
imagen

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

No branches or pull requests

2 participants