|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35145 While next infinite loops
Submitted: 2005-11-08 00:03 UTC Modified: 2005-11-08 00:56 UTC
From: dhawkins at hush dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.4.1 OS: linux 2.4.29
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
2 + 44 = ?
Subscribe to this entry?

 [2005-11-08 00:03 UTC] dhawkins at hush dot com
In the editor fckeditor used to edit content.  When we had version 4.4.0 worked fine.  Works fine on all other hosts with version of PHP 3, 4, or 5.  When this one host upgraded to 4.4.1 suddenly all sites with fckeditor would infinite loop when you went to the editor.

We changed the "while/next" routine to "For each" it worked fine.  This is a major glitch as while/next is used commonly in PHP programs.

Expected result:
the editor now comes up fine is an example of the php fckeditor (the html in the url is a redirection).  This is only because we altered the while next loop to "For each" that it would work.  "WHile next" resulted in infinite looping and the editor would not come up.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-08 00:56 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 18:01:34 2024 UTC