#31537 [Opn]: idate crashes

From: Date: Thu, 13 Jan 2005 11:33:24 +0000
Subject: #31537 [Opn]: idate crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72037@lists.php.net to get a copy of this message
 ID:               31537
 User updated by:  corneliu at gmail dot com
 Reported By:      corneliu at gmail dot com
 Status:           Open
 Bug Type:         Date/time related
 Operating System: WinXP
 PHP Version:      5.0.3
 New Comment:

date works just fine


Previous Comments:
------------------------------------------------------------------------

[2005-01-13 12:31:20] corneliu at gmail dot com

Description:
------------
Server Apache 2.0.52 win32
idate crashes if [int timestamp] parameter is date less than 1 January
1970

Reproduce code:
---------------
<?php var_dump(idate("L", mktime(0,0,0,1,1,1900))); ?>

Expected result:
----------------
bool(false)

Actual result:
--------------
Apache.exe - Application Error
The instruction at "0x0073e083" referenced memory at "0x00000014". The
memory could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31537&edit=1


Thread (1 message)

  • corneliu at gmail dot com
  • Unknown Message
    • corneliu at gmail dot com
« previous php.bugs (#72037) next »