Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Re: Fixing this date mess [RSS Feed]

#1 Nov. 25, 2005 08:31:41

P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Fixing this date mess


On Fri, 25 Nov 2005 00:21:17 -0800
(Rasmus Lerdorf) wrote:

> We need to fix this date thing along with the Digest Auth mixup and
> get a 5.1.1 out the door soon. I see Ilia committed a fix for the
> Digest Auth thing, so assuming that this fix works, we just need to
> figure out what to do with this date class. We can either roll back:
>
>http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.43.2.20&r2=1.43.2.21&ty=u>
> or perhaps a better option is to rename that internal class for now
> until we have a better idea of what this class is going to look like
> and how we transition pear/Date users. Naming it date_ex (for
> experimental) or something like that for now lets us keep the class
> constants as they are and hopefully Derick and Pierre can come to
> some sort of truce on the actual implementation. I don't think
> having this mostly empty date class placeholder helps anybody right
> now.

Put it back into the #ifdef.

> This rename would also give us a migration path where you could have
> a simple: class date extends date_ex { ... } wrapper which could then
> be removed when we have the final internal date class implementation.

I' opposed to add a class now in 5.1, even with a rename, we better to
do what I explained you again this morning:

- Keep 5.x as it was, only the underlying code has been replaced

- take the time to define, implement, document and test a new date/time
API in php6, we can even do that in pecl and put it in php-src at a
later point


--Pierre

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

Offline

#2 Nov. 25, 2005 14:08:45

Michael W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Fixing this date mess


Rasmus Lerdorf wrote:We can either roll back+1or perhaps a better option is to rename that internal class for now--
Michael - <mike(@)php.net>http://dev.iworks.at/ext-http/http-functions.html.gz--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#3 Nov. 25, 2005 18:28:49

Sara G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Fixing this date mess


We can either roll back:http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.43.2.20&r2=1.43.2.21&ty=uor perhaps a better option is to rename that internal class for nowI vote for #ifdefing it out of PHP5, and renaming PECL::Date to iDate orDatei for PHP6 (in keeping with mysql tradition).-Sara--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#4 Nov. 25, 2005 18:55:59

Oliver G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Fixing this date mess


Sara Golemon schrieb:
> I vote for #ifdefing it out of PHP5, and renaming PECL::Date to iDate or
> Datei for PHP6 (in keeping with mysql tradition).

Datei? Yikes, that's "file" in german and would raise confusion ;-)

OLLi

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

Offline

#5 Nov. 25, 2005 21:13:23

Lukas S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Fixing this date mess


Sara Golemon wrote:We can either roll back:http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.43.2.20&r2=1.43.2.21&ty=uor perhaps a better option is to rename that internal class for nowI vote for #ifdefing it out of PHP5, and renaming PECL::Date to iDate orDatei for PHP6 (in keeping with mysql tradition).arg .. the "i" as in improved stuff is just as horrible as the "safe"stuff ..regards,
Lukas

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

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Re: Fixing this date mess [RSS Feed]

Board footer

Moderator control

Enjoy the 24th of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support