I think your parent was referring to why php's implementation is so complex.
As another commentator pointed out, libc's strstr assumes NUL-terminated strings. Maybe php's doesn't? Which seems a bit odd to me in light of the explanation of PHP's genesis as having roots in C, but stranger things...
I'm not surprised at all that libc's strstr would be complex.