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

		return mb_strripos($haystack, $needle, $offset, "latin1");
	}

	return strripos($haystack, $needle, $offset);
}