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