mb_stristr

mb_stristr

(PHP 5 >= 5.2.0, PHP 7)

mb_stristrFinds first occurrence of a string within another, case insensitive

Description

string mb_stristr ( string $haystack , string $needle [, bool $before_needle = false [, string $encoding = mb_internal_encoding() ]] )

mb_stristr() finds the first occurrence of needle in haystack and returns the portion of haystack. Unlike mb_strstr(), 登录查看完整内容