title: How to call PHP function from string stored in a Variable with arguments
body: <p>I found question from <a href="https://stackoverflow.com/questions/1005857/how-to-call-php-function-from-string-stored-in-a-variable">here</a>. But I need to call function name with argument.
  I need to be able to call a function, but the function name is stored in a variable, is this possible? e.g:</p>
  
  <pre><code>function foo ($argument)
  {
    //code here
  }
  
  function bar ($argument)
  {
    //code here
  }
  
  $functionName = "foo";
  $functionName($argument);//Call here foo function with argument
  // i need to call the function based on what is $functionName
  </code></pre>
  
  <p>Anyhelp would be appreciate.</p>