Using PHP Tags in eval()
<p>I have a textarea where you can write PHP &amp; HTML (or technically 
anything else). You can preview your Code in the browser by submitting 
the form and what I wanna do is <code>eval()</code> the code (and thereby display) 
it. Now eval doesn't seem to accept PHP-Tags (<code>&lt;?php ?&gt;</code>) in the 
given string. I've read many posts that suggest calling eval like </p>

<pre><code>eval(' ?&gt;'.$_POST['markup']); 
</code></pre>

<p>But that my have worked once, but it doesn't work anymore. I get a 
Syntax error for the lines where there's a PHP opening / closing tag. </p>

<p>Is there still a way to <code>eval()</code> strings that contain PHP opening and closing tags? </p>
