Skip to content

Glossary: PHP Basics

interpolation

Also written: string interpolation

PHP replacing a variable inside double quotes with its value, as in `"Hi $name"`. Use braces like `{$qty}` when letters follow the variable.

Where the book teaches it

Related terms

string