On 31 January 2006 13:29, Barry wrote:

> James Benson wrote:
> > The case makes no difference, because...
> > 
> > 
> > echo date('r', strtotime ("next Month"))."\n";
> > echo date('r', strtotime ("next month"))."\n";
> > 
> I was referring here to a note on php.net ->
> For those upgrading from PHP 4 to PHP 5 there are a number of things
> that are different about strtotime that I have NOT seen documented
> elsewhere, or at least not as clearly. I confirmed these with two
> separate fresh installations of PHP 4.4.1 and PHP 5.1.1.
> 
> 5) Some uppercase and mixed-case strings no longer parse
> correctly. In
> php4 "Yesterday" would parse correctly. In php5 "Yesterday"
> will return
> the infamous 1969 date. This is also true of Tomorrow and Today.

Oh, that does seem wrong -- have you checked the bugs database / reported it as 
a bug?

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to