php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39722 PHP-CGI process stalls
Submitted: 2006-12-04 03:58 UTC Modified: 2006-12-05 12:50 UTC
From: shri_phadte at yahoo dot co dot in Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.0.2 OS: Windows XP
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: shri_phadte at yahoo dot co dot in
New email:
PHP Version: OS:

 

 [2006-12-04 03:58 UTC] shri_phadte at yahoo dot co dot in
Description:
------------
When i call strtotime(...) continuously in a loop with parameter undefined the PHP-CGI process stalls and needs to be stopped manually

Reproduce code:
---------------
for($i=0;$i<20;$i++)
   strtotime($UndefinedVariable);

Expected result:
----------------
should throw 20 Warnings

Actual result:
--------------
PHP-CGI process Stalls On approx 13th itration of for loop

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-04 10:51 UTC] tony2001@php.net
Cannot reproduce.
 [2006-12-05 08:27 UTC] shri_phadte at yahoo dot co dot in
The correct PHP version which i found this problem is 5.0.2 running on an old version of Apache. I Upgraded them to the latest version and it is working fine.You can close the bug or if u want to address this bug and need more details please let me know
 [2006-12-05 12:50 UTC] tony2001@php.net
Latest version works fine -> closed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 14:00:02 2025 UTC