> > Thanks for the karma! An RFC has been created: > https://wiki.php.net/rfc/str_contains
Something that's missing from the RFC is the behaviour when $needle is an empty string: str_contains('abc', ''); str_contains('', ''); Will these always return false? — Benjamin