app/Functions/FunctionsRtl.php
public static function beginCurrentSpan(&$result): void
    {
        if (self::$currentState === 'LTR') {
            $result .= self::START_LTR;
        }
        if (self::$currentState === 'RTL') {
            $result .= self::START_RTL;
        }

        self::$posSpanStart = strlen($result);
    }
public static function beginCurrentSpan(&$result): void
    {
        if (self::$currentState === 'LTR') {
            $result .= self::START_LTR;
        }
        if (self::$currentState === 'RTL') {
            $result .= self::START_RTL;
        }

        self::$posSpanStart = strlen($result);
    }
public static function beginCurrentSpan ( & $ result ) : void { if ( self :: $ currentState === 'LTR' ) { $ result .= self :: START_LTR ; } if ( self :: $ currentState === 'RTL' ) { $ result .= self :: START_RTL ; } self :: $ posSpanStart = strlen ( $ result ) ; }
Begin current span

@param string $result

@return void
Begin current span