Bug #1533: try yourself...
| From: | thomas dot jarosch at styletec dot de | Date: | Sat, 12 Jun 1999 20:08:58 +0000 |
| Subject: | Bug #1533: try yourself... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6886@lists.php.net to get a copy of this message | ||
From: thomas.jarosch@styletec.de
Operating system: Linux+Apache 1.3.6
PHP version: 3.0.9
PHP Bug Type: Parser error
Bug description: try yourself...
<html>
<body>
<b><center>PHP Development zone</center></b><br>
<?
$Configurations = array();
$configfiles = array();
$Configuration["test"] = "should be working fine.";
$configfiles[1] = "test";
echo "<b>workaround:</b> ";
$tmp = $configfiles[1];
echo "$configfiles[1]: $Configuration[$tmp]<br>";
echo "<b>bug:</b> ";
// somehow php doesn't handle the array right
echo "$configfiles[1]: $Configuration[$configfiles[1]]<br>";
?>
</body>
</html>