> > OK, can you give an example you can do with ${} but you can't with > > {$} and the opposite? Would be nice to clear at least my mind about > > that :) We may include an example in the manual to show people > > why we have two "frighteningly" similar things for the same thing > > > > echo "this is ${bar}"; > > echo "this is {$bar}"; > > Hmm :) Variable variables come to mind but then again ${$var} can be seen > as a mix of both :)
That is something indicates, why both works, and should work, and why ${varname[1]} should not. But it works as you reported... Hm... Goba