ID: 10026
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *General Issues
Description: For loop always execute
The code submitted is inside a function that is called recursively and its not exact
copy of the code.
I've also tried to change the for loop to a while loop with the same r
ID: 10026
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *General Issues
Assigned To:
Comments:
I can't reproduce this (using code below):
Could you try this one?
And note: If the variable passed to count() is not an array,
it will return 1
ID: 10026
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *General Issues
Description: For loop always execute
Its not easy reproduceable - i have only seen this happens ONCE - in the specified
function. Its NOT a simple for-loop - the for-loop executes INSIDE a rec
ID: 10026
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *General Issues
Description: For loop always execute
When i said ONCE - i didnt mean ONCE :)
It ALWAYS happen in the code referred...
Previous Comments:
---
ID: 10026
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *General Issues
Assigned To:
Comments:
As I can not reproduce this with latest CVS please try
the latest snapshot from http://snaps.php.net/
And if happens with it too, create one
short
ID: 10026
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *General Issues
Description: For loop always execute
I post the function that cause the problem.
Its the for-loop int the wery bottom of the function that cause my problem. If you can
see any wrong logic in
ID: 10026
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *General Issues
Description: For loop always execute
The parameter passed to the function i prev. post is the stricture returned from
imag_fetchstructure...
- Svein
Previous Comments:
-
ID: 10026
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *General Issues
Assigned To:
Comments:
I asked for 'self-containing' script. ie. one that doesn't
need anything outside but works as is. This example script
you added is useless and can not
ID: 10026
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *General Issues
Description: For loop always execute
I'm sorry, but all other script i make work ok. Its just this one that cause the
problem.
I dont know how to make another script for you as i cant repro