You are here: Re: Strtotime() / date() Bug in PHP - all versions « All PHP « IT news, forums, messages
Re: Strtotime() / date() Bug in PHP - all versions

Posted by Michael J Martin on 03/30/06 18:49

Either way, I just thought it would be appropriate to let the devs who
work on strtotime know that which is why I posted here, to try and find
out what the reporting process is.

I'm not bashing the function, it usually does a fantastic job.

Mike

robert wrote:
> | To be fair, the documentation does say that strtotime only /attempts/ to
> | give the correct timestamp.
>
> just to razz you a bit...
>
> all software /attempts/ to do what it should. now to be more accurate than
> fair/apologetic, it is far better for a function to *fail* when such
> /attempts/ cannot be concluded successfully. i'd rather get an error thrown
> my way or *nothing at all* returned from said function instead of *wrong* or
> unexpected results.
>
> otoh, [if digital cameras worked this way and, ] if this kind of thing
> happened when i took pictures of beautiful women but the camera's /attempts/
> failed to clothe them...not only would i be forgiving...i'd buy more. some
> unexpected results are quite splendid indeed. ;^)
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация