On Wed, 2 Apr 2008, Stanislav Malyshev wrote:
> > Ah, I suppose it's not conflicting then, but wouldn't it make more sense to
> > have them named the same as the classes/methods? And.. i wasn't aware there
> > was also a non-OO interface.
>
> Yes, all functions have dual interface - functional and OO. See
> http://docs.php.net/manual/en/book.intl.php :)
Had a quick look at it now, and although it has a different prefix
(datefmt_) I now think it's confusing enough to have it next to date_,
especially because these functions don't accept any sort of "DateTime"
object. So I'd suggest to rename those too to be consistent.
regards,
Derick
========================
The DateTime support is planned to be added later, we just don't have
the time to do it right now.
Stas