Re:PHP: Single Quotes versus Double Quotes
by MrEnigma on Tuesday October 09, 2012 @09:42AM
(#4631420)
For double quotes you can use curly braces instead of concatenation. $foo = "I like {$hacker['news']}"; depending on how you want it evaluated you can drop the dollar sign on the outside of the curly brackets as well.
[ Parent
| on HN ]
There are no comments on this comment yet.