method
public
static
BinaryString::getLastPositionIgnoreCase()
Сигнатура
public static getLastPositionIgnoreCase(mixed $haystack, mixed $needle[, int $offset = 0 ]) : int
Описание
Двоичная версия strripos.
Параметры
$haystack
mixed
$needle
mixed
$offset
int
= 0
Возвращаемое значение
int
Как применяется в BinaryString
BinaryString::getLastPositionIgnoreCase() — метод класса \Bitrix\Main\Text\BinaryString модуля «Главный модуль».
Статический метод — вызывается через имя класса BinaryString, без создания объекта.
use Bitrix\Main\Text\BinaryString;
$haystack = null;
$needle = null;
$result = BinaryString::getLastPositionIgnoreCase($haystack, $needle);
// $result: intДругие методы BinaryString
changeCaseToLower()Двоичная версия strtolower.getLastPosition()Двоичная версия strrpos.getLength()Двоичная версия strlen.getPosition()Двоичная версия strpos.getPositionIgnoreCase()Двоичная версия stripos.getSubstring()Двоичная версия substr.
Исходный файл: source/main/lib/text/binarystring.php:80

