php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67974 strtotime bug
Submitted: 2014-09-08 08:14 UTC Modified: 2014-10-27 00:34 UTC
From: fj7087fa at aa dot jp dot fujitsu dot com Assigned:
Status: Closed Package: *Web Server problem
PHP Version: 5.5.16 OS: windows7
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: fj7087fa at aa dot jp dot fujitsu dot com
New email:
PHP Version: OS:

 

 [2014-09-08 08:14 UTC] fj7087fa at aa dot jp dot fujitsu dot com
Description:
------------
strtotime bug

Test script:
---------------
strtotime(date("Y-m-d",time());
end ) nothing

Infinite loop occurrence


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-08 10:29 UTC] derick@php.net
-Status: Open +Status: Feedback
 [2014-09-08 10:29 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


I don't know what you mean, and your script contains errors. This runs just fine (with 5.5.16 and 5.4.33 at least):

derick@whisky:~ $ php -r 'echo strtotime(date("Y-m-d",time())), "\n";'
1410130800
 [2014-10-24 23:13 UTC] ab@php.net
-Status: Feedback +Status: No Feedback
 [2014-10-24 23:13 UTC] ab@php.net
Got the same as Derick on the current 5.5 branch on Windows.
 [2014-10-27 00:34 UTC] fj7087fa at aa dot jp dot fujitsu dot com
-Status: No Feedback +Status: Closed
 [2014-10-27 00:34 UTC] fj7087fa at aa dot jp dot fujitsu dot com
It was settled
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC