Php:Return a String from a function
<p>The simple program is not returning the string,Please help.</p>

<pre><code>&lt;?php 
function returnStr() {
return "fooBar";
}
$str=returnStr();
echo $str;
}
?&gt; 
</code></pre>
