quoting keys
Posted: Mon May 12, 2008 5:30 pm
Hi,
Is it desirable, necessary or a bad idea to double quote variables in key. Is this a good or bad idea? $array["$a"]
I get that $array['a'] is a good idea, but not sure if that concept extends to variables. Pros and cons please?
Thx!
Is it desirable, necessary or a bad idea to double quote variables in key. Is this a good or bad idea? $array["$a"]
I get that $array['a'] is a good idea, but not sure if that concept extends to variables. Pros and cons please?
Thx!