Re: [php-icu] Graphemes and unicode vs intl extension
| From: | Derick Rethans | Date: | Fri, 21 Mar 2008 16:35:11 +0000 |
| Subject: | Re: [php-icu] Graphemes and unicode vs intl extension | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36235@lists.php.net to get a copy of this message | ||
On Fri, 21 Mar 2008, Stanislav Malyshev wrote:
> > You can't actually use the class name "DateFormatter" when you want
> > pecl/intl to be in core. "Date" is the prefix for the already existing Date
> > extension.
>
> I think we still can name it DateFormatter, especially if we plan (and we do,
> as I understand) to merge DateFormatter functions with ext/date in PHP 6, and
> we don't have any conflict now and we do not have any plans to have
> DateFormatter in ext/date (correct me if I'm wrong here).
You're wrong. We can rename it later *if* it gets merged into ext/date,
but you can't simply use a classname with a prefix that conflicts with
something else. Merging it would most likely change API anyway.
> But if you have a better name for it - please propose it.
Something that does not start with Date.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org