- html_entity_decode: documentation ( source)
<?php
function uchr ($codes) {
if (is_scalar($codes)) $codes = func_get_args();
$str = '';
foreach ($codes as $code) $str .= html_entity_decode('&#'.$code.';',ENT_NOQUOTES,'UTF-8');
return $str;
}
echo uchr(23383); echo '<br/>';
echo uchr(23383,215,23383); echo '<br/>';
echo uchr(array(23383,215,23383,215,23383));
echo '<br/>';