PHP 4.0 Bug #5037: mktime / strftime bugs

From: Date: Wed, 14 Jun 2000 20:10:29 +0000
Subject: PHP 4.0 Bug #5037: mktime / strftime bugs
Groups: php.dev 
Request: Send a blank email to php-dev+get-21333@lists.php.net to get a copy of this message
From: ying@zippydesign.com Operating system: Windows 2000 PHP version: 4.0.0 Release PHP Bug Type: Misbehaving function Bug description: mktime / strftime bugs mktime() produces incorrect results in PHP4 under Windows 2000, the code: <? echo mktime(6,35,0,6,13,1969); ?> produces -1 in PHP4 (release) in Windows 2000, but on Linux and BSD produces the proper value of -17436300. -------------- strftime() crashes PHP4 under Windows 2000 when called with a negative value: <? echo strftime(-1); ?> produces an application error, in the event viewer: The application, , generated an application error The error occurred on 06/14/2000 @ 13:08:48.236 The exception generated was c0000005 at address 780133E5 (Strftime)

« previous php.dev (#21333) next »