|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36644 problem with function variant_date_from_timestamp
Submitted: 2006-03-07 13:13 UTC Modified: 2006-11-13 15:36 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:0 (0.0%)
From: u_peg at centrum dot cz Assigned:
Status: Closed Package: COM related
PHP Version: 5.1.2 OS: Windows 2003
Private report: No CVE-ID: None
 [2006-03-07 13:13 UTC] u_peg at centrum dot cz
If I use negative number as argument of function variant_date_frome_timestamp php crashes.

Reproduce code:

Expected result:
I expected regular variant date representing one second to 1.1.1970 (December 31 1969 23:59:59).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-13 15:36 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 03 04:03:39 2023 UTC