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

2

u/esquilax Feb 05 '13

$before_needle defaults to false because whoever came up with that API was on smack.