A double-quoted string (also known as a double-quoted string literal) has the purpose of including a string into a program, with variable substitution. For example, the string "$foo on you" will appear as on you if $foo is not defined; if $foo contains the value 'Poo', then the resulting string will appear as Poo on you when output to the user’s web browser.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.