PHP 4.0 Bug #5037 Updated: mktime / strftime bugs
| From: | Bug Database | Date: | Wed, 14 Jun 2000 20:44:23 +0000 |
| Subject: | PHP 4.0 Bug #5037 Updated: mktime / strftime bugs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21339@lists.php.net to get a copy of this message | ||
ID: 5037
Updated by: hholzgra
Reported By: ying@zippydesign.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
behavior for timestamps before second 0
(start of Jan 1., 1970 GMT)
is undefined, see calendar extension module
if you need 'historic' dates
do not rely on negative timestamp values to be protable!
----
and regarding strftime(-1)
(please create multiple reports for different bugs):
are you sure you called strftime(-1), not
strftime($format,-1) ...?
anyhow, both cases shouldn't crash win2k libc
2nd one would be easy to catch, 1st not so easy
but i'm pretty sure the win2k implementation of
strftime in libc (or however the c runtime lib
is called there) is to blame, not the php source
Full Bug description available at: http://bugs.php.net/version4/?id=5037