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

Strstr() Usage Note #3198

Closed
Sunthief opened this issue Feb 20, 2024 · 1 comment
Closed

Strstr() Usage Note #3198

Sunthief opened this issue Feb 20, 2024 · 1 comment
Labels
good first issue Good for newcomers QA Quality Assurance

Comments

@Sunthief
Copy link

From manual page: https://php.net/function.strstr


Note:
If you only want to determine if a particular needle occurs within haystack, use the faster and less memory intensive function strpos() instead.

This should probably be updated to include mention of str_contains().

@Girgias Girgias added good first issue Good for newcomers QA Quality Assurance labels Feb 20, 2024
@kamil-tekiela
Copy link
Member

I think this one is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers QA Quality Assurance
Projects
None yet
Development

No branches or pull requests

3 participants