Returns part of $haystack string from the first occurrence of $needle to the end of $haystack.

declaration of strstr

string strstr ( string $haystack , mixed $needle [, bool $before_needle ] )

test strstr online

share strstr

comments for strstr

On 01. May 2016 19:39 butzi wrote:

@samiu1287: thanks for your hint. I fixed the wrong result.

On 26. Apr 2016 13:58 samiu1287 wrote:

Seems there is a problem with this page, when the strtsr() function should return false, the result textarea shows only "als". Otherwise, works great.


Leave your comment