by Acesystech » Mon Aug 20, 2012 11:12 pm
php variable interpolation is basically the extraction of the contained value of a given variable.
For example,
Storing "hello" in the scalar* variable $wish,
$wish='hello';
will interpolate properly raw,
echo $wish;
or when double quoted,
echo "She said $wish";
but NOT when single quoted.
echo 'She said $wish'; // prints out: She said $wish