public static function obfuscate($string) {
        $string = (string) $string;
        $length = mb_strlen($string);
        $scrambled = '';

        if ($length > 0) {
            for ($i = 0; $i < $length; $i++) {
                $scrambled .= '&#' . ord($string[$i]) . ';';
            }
        }

        return $scrambled;
    }
public static function obfuscate($string) {
        $string = (string) $string;
        $length = mb_strlen($string);
        $scrambled = '';

        if ($length > 0) {
            for ($i = 0; $i < $length; $i++) {
                $scrambled .= '&#' . ord($string[$i]) . ';';
            }
        }

        return $scrambled;
    }
public static function obfuscate ( $ string ) { $ string = ( string ) $ string ; $ length = mb_strlen ( $ string ) ; $ scrambled = '' ; if ( $ length > 0 ) { for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ scrambled .= '&#' . ord ( $ string [ $ i ] ) . ';' ; } } return $ scrambled ; }
Scrambles the source of a string.

@param string $string
@return string
Scrambles the source of a string .