<?php
$greeting = 'hi';
echo 'hi' $greeting;
?>
I know that the above works when string interpolation is used such as echo "hi $greeting"; but if the code works individually as in echo 'hi' and echo $greeting I don't understand why the I get an error when the code is combined to be echo 'hi' $greeting; as I illustrated above.