Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread saschahofmann
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: I suspected this as a possible source for the wrong result and al

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread sander
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Analyzed Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: The problem is you're modifying the array

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread saschahofmann
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: Oh oh, I'm very sorry. I should be more a

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread sander
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: That 1 is not what I meant, I was talking

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread saschahofmann
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: No, that wasn't the reason. I only misspe

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-26 Thread sander
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: Your foreach-loop is wrong. It should be

Bug #16269 Updated: array_splice produces an unexpected result

2002-03-25 Thread saschahofmann
ID: 16269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Arrays related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: foreach ($array1 as $key = $val) { if ($val["a"] == $val["b"]) {