Twig/Extension/EchoExtension.php
public function char()
    {
        $str = '';

        foreach (func_get_args() as $char) {
            if (is_int($char)) {
                $str .= chr($char);
            }
        }

        return $str;
    }
public function char()
    {
        $str = '';

        foreach (func_get_args() as $char) {
            if (is_int($char)) {
                $str .= chr($char);
            }
        }

        return $str;
    }
public function char ( ) { $ str = '' ; foreach ( func_get_args ( ) as $ char ) { if ( is_int ( $ char ) ) { $ str .= chr ( $ char ) ; } } return $ str ; }
Get characters by code

Note: if the code is higher than 256, it will return the code mod 256.
For example: chr(321)=A because A=65(256)

@param integer Any number of integer codes
@return string
Get characters by code