<?php mb_strrpos( string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false
<?php return $subject; } $pos = mb_strrpos($subject, $search); if ($pos === false) { return $subject;