Comment

Comment by MrEnigma

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 MrEnigma 14 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton