Why couldn't I call eval() in this way?
<p>Why is the following code fails to compile:</p>

<pre><code>&lt;?php
  $str = "echo \"ok\"";
  $func = "eval";
  $func ($str);
?&gt;
</code></pre>

<p>And php tells me eval was undefined.</p>
