Interpolation¶
Interpolation is the PHP feature that automatically replaces variables and public properties by their value in double-quoted strings and Heredoc syntax.
<?php
$string = "world";
echo "Hello $string";
// displays Hello world
?>
See also How to Use String Interpolation in PHP
Related : String, Concatenation, Heredocs, Variables