Hi!

>> While playing around with Andrea's unicode literals syntax proposal, I
>> was reminded of just how little of ICU is exposed.  I've put up a
>> short proposal for adding IntlChar exporting these APIs as static
>> methods (with a matching non-oop interface).
>>
>> https://wiki.php.net/rfc/intl.char

Looking into this and also reading the \u{} proposal, I also thought -
do we have a programmatic way of doing what \u would do? I.e. if we
assume $x holds an Unicode codepoint value (i.e., an integer) do we have
a good built-in way to generate the corresponding utf8 sequence?
If not, then I think this class may be a good place to put such a
function in.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to