Re: New Module - CDate
| From: | Tim Ansell | Date: | Wed, 07 Jun 2006 10:35:30 +0000 |
| Subject: | Re: New Module - CDate | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3863@lists.php.net to get a copy of this message | ||
On Wed, 2006-06-07 at 08:21 +0200, Derick Rethans wrote:
> On Wed, 7 Jun 2006, Tim Ansell wrote:
>
> > I am in the process of writing a PECL module which is designed to be
> > function compatible with the PEAR Date module. I hope to make this
> > module a drop in replacement so anyone who was using the PEAR Date
> > module can just use the PECL Date module.
>
> This sounds kinda weird... as we already have a new date extension in
> PHP proper from PHP 5.2 onwards. I would suggest to have a look at it,
> and see what we can do with extending its API.
Why is it weird?
Having a separate module means that it can be used with older versions
of PHP and can be separately developed and improved. I wouldn't want
this package to be part of the default.
It also has very specific goals, to be a C version of the PEAR::Date
classes.
It is not suppose to replace any of the newer work, rather be something
that can be use right now.
> regards,
> Derick
Tim Ansell