- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/text/string.php
- Класс: BitrixMainTextString
- Вызов: String::getBinaryStripos
static function getBinaryStripos($haystack, $needle, $offset = 0)
{
if (defined("BX_UTF"))
{
if (function_exists("mb_orig_stripos"))
{
return mb_orig_stripos($haystack, $needle, $offset);
}
return mb_stripos($haystack, $needle, $offset, "latin1");
}
return stripos($haystack, $needle, $offset);
}