title: PHP eval(array_as_string) returns null
body: <pre><code>$arr = eval("array('foo'=&gt;'bar');");
  
  // returns null
  var_dump($arr);
  </code></pre>
  
  <p>Can someone please explain why did I get null instead of an array?</p>