Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find the position of the last occurrence of a substring in a string
strrpos(string $haystackstring $needleint $offset 0): int|false
        } catch (\ReflectionException $e) {

            return;

        } finally {

            if (
$i strrpos($this->value'\\')) {

                
$this->attr['ellipsis'] = \strlen($this->value) - $i;

                
$this->attr['ellipsis-type'] = 'class';

                
$this->attr['ellipsis-tail'] = 1;
        if (false === $name) {

            
$name str_replace('\\''/'$file);

            
$name substr($namestrrpos($name'/') + 1);

        }



        
$context = ['name' => $name'file' => $file'line' => $line];
            $style .= sprintf(' title="%s"', empty($attr['dynamic']) ? 'Public property' 'Runtime added dynamic property');

        } elseif (
'str' === $style && $attr['length']) {

            
$style .= sprintf(' title="%d%s characters"'$attr['length'], $attr['binary'] ? ' binary or non-UTF-8' '');

        } elseif (
'note' === $style && < ($attr['depth'] ?? 0) && false !== $c strrpos($value'\\')) {

            
$style .= ' title=""';

            
$attr += [

                
'ellipsis' => \strlen($value) - $c,