php convert string to method call
<pre><code>&lt;?php
  $str = "getList";

  //now by doing something to $str i need to call getList() method any sugesstions 

  function getList(){
    echo "get list called";
  }
?&gt;
</code></pre>
