php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37128 strtotime causes core dump
Submitted: 2006-04-18 21:17 UTC Modified: 2006-04-18 21:53 UTC
From: ccabanilla at sportingnews dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.1.2 OS: Solaris 10 (x86)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ccabanilla at sportingnews dot com
New email:
PHP Version: OS:

 

 [2006-04-18 21:17 UTC] ccabanilla at sportingnews dot com
Description:
------------
The strtotime function causes unreasonably high cpu usage and 
eventually core dump

Reproduce code:
---------------
date_default_timezone_set ('America/New_York');                                                       
echo strtotime('5 january 2006+3day +1day');   

Expected result:
----------------
1136782800

Actual result:
--------------
The request just hangs

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-18 21:22 UTC] tony2001@php.net
Please try using this CVS snapshot:

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

Can't reproduce.
 [2006-04-18 21:53 UTC] ccabanilla at sportingnews dot com
The latest CVS snapshot fixed it, thanks.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 08:00:03 2025 UTC