protected static function convertString($value)
    {
        if (strpos($value, '\\') === false) {
            return $value;
        }

        return preg_replace_callback(
            '/\\\(n|r|t|v|e|f|"|\\\)/',
            function ($match) {
                switch ($match[1][0]) {
                    case 'n':
                        return "\n";
                    case 'r':
                        return "\r";
                    case 't':
                        return "\t";
                    case 'v':
                        return "\v";
                    case 'e':
                        return "\e";
                    case 'f':
                        return "\f";
                    case '"':
                        return '"';
                    case '\\':
                        return '\\';
                }
            },
            $value
        );
    }
protected static function convertString($value)
    {
        if (strpos($value, '\\') === false) {
            return $value;
        }

        return preg_replace_callback(
            '/\\\(n|r|t|v|e|f|"|\\\)/',
            function ($match) {
                switch ($match[1][0]) {
                    case 'n':
                        return "\n";
                    case 'r':
                        return "\r";
                    case 't':
                        return "\t";
                    case 'v':
                        return "\v";
                    case 'e':
                        return "\e";
                    case 'f':
                        return "\f";
                    case '"':
                        return '"';
                    case '\\':
                        return '\\';
                }
            },
            $value
        );
    }
protected static function convertString ( $ value ) { if ( strpos ( $ value , '\\' ) === false ) { return $ value ; } return preg_replace_callback ( '/\\\(n|r|t|v|e|f|"|\\\)/' , function ( $ match ) { switch ( $ match [ 1 ] [ 0 ] ) { case 'n' : return "\n" ; case 'r' : return "\r" ; case 't' : return "\t" ; case 'v' : return "\v" ; case 'e' : return "\e" ; case 'f' : return "\f" ; case '"' : return '"' ; case '\\' : return '\\' ; } } , $ value ) ; }
Decodes a string with an argument.

@param string $value

@return string
Decodes a string with an argument .