How to embed $foo->bar into string in Php
<p>I'm new to Php,</p>

<p><code>echo "$foo-&gt;bar"</code> seem to work as expected</p>

<p><code>echo "this is {$foo-&gt;bar}"</code> works as well</p>

<p>what's the best way to do this?</p>
