last two lines of code in one statement in php
<p>In Order to optimize my code , how can i write the last two lines of code in one statement</p>

<pre><code>$v1 = functionName;
$strR = "get".$v1;
echo $obj-&gt;$strR();  
</code></pre>

<p>as i wana get <code>$obj-&gt;getfunctionName();</code></p>

<p>please help</p>
