RE: [PHP] another big, juicy, delicious bug
| From: | Jay Blanchard | Date: | Tue, 08 Jul 2003 13:00:35 +0000 |
| Subject: | RE: [PHP] another big, juicy, delicious bug | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154349@lists.php.net to get a copy of this message | ||
[snip]
But then it will go and do something like this:
Array (
[0] => 172.170.69.74
[1] => 172.141.183.231
[2] => 172.137.79.102
[3] => 172.151.144.242
[4] => 172.150.212.129
[5] => 172.158.154.92
) // correct array
Array (
[172.170.69.74 ] => 0
[172.141.183.231 ] => 1
[172.137.79.102 ] => 2
[172.151.144.242 ] => 3
[172.150.212.129 ] => 4
[172.158.154.92] => 5
) // correct flipped
172.151.144.242 // correct ip
// complete nothingness where $ipData[$ip] should equal 3
1 // wrong $id, should be 4
[/snip]
First of all this is probably not a bug.
Second, where is the code that tests for the condition? Do the other
IP's in the array output their id properly in this same set? This info
will help us to solve the problem.
Jay