PHP variable value to be string+function
<p>Can I have something like this in PHP?</p>

<pre><code>$variable = 'string' . function() . 'string';
</code></pre>

<p>I tried it but I can't see if it gives an error or if it works.
Thanks in advance!</p>

<p>P.S. function() would return a string</p>
