php.net |  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
 [2005-11-08 00:03 UTC] dhawkins at hush dot com
Description:
------------
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 poetryscape.org/submit.html 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-08 00:56 UTC] sniper@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 07:05:46 2022 UTC