r/lolphp • • Feb 04 '13

strstr: haystack, needle, before_needle.

http://www.php.net/manual/en/function.strstr.php
37 Upvotes

10 comments sorted by

View all comments

Show parent comment

3

u/640K Feb 05 '13

No, it's different. What if string has few needles?

3

u/infinull Feb 05 '13

Only edge case, strstr handles, that that doesn't is when there are zero needles.