mb_strpos

mb_strpos

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

mb_strposFind position of first occurrence of string in a string

Description

int mb_strpos ( string $haystack , string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )

Finds position of the first occurrence of a string in a string.

Performs a multi-byte safe 登录查看完整内容