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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 08:01:33 2024 UTC