Re: strange problem
| From: | Bas Jobsen | Date: | Fri, 18 Jan 2002 15:07:38 +0000 |
| Subject: | Re: strange problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81087@lists.php.net to get a copy of this message | ||
> No idea, but a fella on this list told me [] had been deprecated in
> favour of {} Maybe that has something to do with it?
Maybe:
$a[${'%coding'}] = 'red';
this works:
<?
${'%coding'}='blue';
$a[${'%coding'}]='red';
echo $a[blue];//print red
?>