php.net |  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
Votes:7
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: corneliu at gmail dot com
New email:
PHP Version: OS:

 

 [2005-01-13 12:31 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-13 21:02 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

This works fine for me (on LInux), please try the snapshot.
 [2005-01-31 22:31 UTC] sniper@php.net
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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC