Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

replace strstr to strpos #59

Closed
wants to merge 1 commit into from

Conversation

samsonasik
Copy link
Contributor

based on php manual at http://php.net/manual/en/function.strstr.php

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

weierophinney added a commit that referenced this pull request Apr 11, 2018
weierophinney added a commit that referenced this pull request Apr 11, 2018
@weierophinney
Copy link
Member

Thanks, @samsonasik!

@samsonasik samsonasik deleted the strstr-strpos branch April 11, 2018 18:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants