Re: [RFC] IntlChar class and intl_char_*() functions
| From: | Andrea Faulds | Date: | Tue, 25 Nov 2014 13:14:32 +0000 |
| Subject: | Re: [RFC] IntlChar class and intl_char_*() functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79167@lists.php.net to get a copy of this message | ||
> On 25 Nov 2014, at 04:47, Sara Golemon <pollita@php.net> wrote:
>
> 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
Is there really a need to have both an “OOP” and “non-OOP” interface here? If it’s all
static methods, why not just make it functions?
--
Andrea Faulds
http://ajf.me/