Mb_strpos, strpos, strstr and so on in php do not support Chinese, how to match Chinese?

mb_strpos, strpos, strstr, etc., do not support Chinese, how to match Chinese?
$submit = "";
$item = "";
echo mb_strpos($submit, $item). "\n";
Php
Apr.03,2021

first of all, mb_strpos (string $haystack, string $needle) , it's obvious that your parameters are in the opposite position.

secondly, it supports mb_ prefix ( MultiByte ) security interception in Chinese, such as mb_substr, mb_strpos, mb_strstr.

Menu