Added U() as alias for uchr()

This commit is contained in:
2016-10-30 13:19:31 +01:00
parent dea0fc5228
commit 5e412a8e76
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,11 @@ class UnicodeShim
return json_decode('"'.'\u'.dechex($ord).'"');
}
function U($ord)
{
return uchr($ord);
}
function uprintf($arg)
{
$str = call_user_func_array('sprintf', func_get_args());