PHP recognizes variable names within strings, which are enclosed in double quotes.
+
PHP recognizes variable names within strings, which are enclosed in double quotes. Since all variables begin with a dollar sign, it is easy to embed one string inside another. This is the preferred way to create HTML output.
−
Since all variables begin with a dollar sign, it is easy to embed one string inside another. This is the preferred way to create HTML output.