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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Thu Dec 26 18:01:31 2024 UTC