From: [EMAIL PROTECTED]
Operating system: Redhat Linux 6.1
PHP version: 4.0.4pl1
PHP Bug Type: URL related
Bug description: url created arrays and isset
Make a file like this:
while($pair = each($i)) {
if (isset($i[$pair["key"]]["sysaction"])) {
echo "<br>We have a bug!!<br>";
} else {
echo "<br>There are no bugs!!<br>";
}
}
and call it like this:
phpbug.php?i[mwsl]=0
Now isset will return true. If I create the array in php instead, it works fine.
--
Edit Bug report at: http://bugs.php.net/?id=9420&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]