|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31537 idate crashes
Submitted: 2005-01-13 12:31 UTC Modified: 2005-01-31 22:31 UTC
Avg. Score:4.1 ± 1.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: corneliu at gmail dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 5.0.3 OS: WinXP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-01-13 12:31 UTC] corneliu at gmail dot com
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:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-13 21:02 UTC]
Please try using this CVS snapshot:
For Windows:

This works fine for me (on LInux), please try the snapshot.
 [2005-01-31 22:31 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 18 21:03:39 2021 UTC