PHP 4.0 Bug #9420: url created arrays and isset
| From: | shk at mindpass dot com | Date: | Fri, 23 Feb 2001 14:16:08 +0000 |
| Subject: | PHP 4.0 Bug #9420: url created arrays and isset | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47339@lists.php.net to get a copy of this message | ||
From: shk@mindpass.com
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