Environment:
- Strangebuzz Snippet VM: 6.4.2
- PHP: 8.3
- Symfony: 6.4.3
Code execution output:
strpos: YES, Foobar is a good friend of mine! contains friend!
str_contains: YES, Foobar is a good friend of mine! contains friend!
Symfony string: YES, Foobar is a good friend of mine! contains friend!
strpos: NO, Foobar is a good friend of mine! does not contains FrIenD!
str_contains: NO, Foobar is a good friend of mine! does not contains FrIenD!
Symfony string: YES, Foobar is a good friend of mine! contains FrIenD! (ignoring case)