Return in eval function for Php
<p>I need to pass a return $variable; within the eval function, which in turn is going to return a value for a function.</p>

<p>Here is an example:</p>

<p><br/><code>function something()
<br/>{<br/>
  $sSomeVar = 'something';<br/>
  eval( 'return $sSomeVar = 3;'  );<br/>
}
</code></p>

<p>The code above will return 3 for the eval, but the function will not return the value for the variable.</p>

<p>So does anyone know how to return a return within an eval?</p>
