In PHP, strings are concatenated together as follows:
$foo = \"Hello\";
$foo .= \" World\";
Here, $foo becomes \"Hello World\"
I don't know about PHP yet, but this works in Linux Bash. If you don't want to affect it to a variable, you could try this:
read pp; *# Assumes I will affect Hello to pp*
pp=$( printf $pp ;printf ' World'; printf '!');
echo $pp;
>Hello World!
You could place another variable instead of 'Hello' or '!'. You could concatenate more strings as well.