Voting

: min(seven, two)?
(Example: nine)

The Note You're Voting On

voromax
16 years ago
Another quick and short function to get unicode char by its code.

<?php
/**
* Return unicode char by its code
*
* @param int $u
* @return char
*/
function unichr($u) {
return
mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES');
}
?>

<< Back to user notes page

To Top