Bug 622597 - PHP strtotime fails on dates before 1900
PHP strtotime fails on dates before 1900
Status: CLOSED DUPLICATE of bug 607453
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: php (Show other bugs)
5.5
x86_64 Linux
low Severity medium
: rc
: ---
Assigned To: Joe Orton
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-09 17:13 EDT by icarolan27
Modified: 2011-12-16 10:01 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-16 10:01:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description icarolan27 2010-08-09 17:13:31 EDT
Description of problem:

strtotime should provide a timestamp given a date string. In a 64bit OS this timestamp should not be limited to the value of a 32bit interger.

Version-Release number of selected component (if applicable):
5.1.6

How reproducible:
Always.

Steps to Reproduce:
1. Provide a date before to 1900 to strtotime()
  
Actual results:
Fails and returns FALSE.

Expected results:
Provides a negative timestamp not limited by a 32bit interger.

Additional info:
Working on Slackware64 13.1
Comment 1 Joe Orton 2011-12-16 10:01:04 EST

*** This bug has been marked as a duplicate of bug 607453 ***

Note You need to log in before you can comment on or make changes to this bug.