mb_strrpos

Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Find position of last occurrence of a string in a string
<?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;
<?php             return $subject;

        }



        $pos = mb_strrpos($subject, $search);



        if ($pos === false) {

            return $subject;