title: PHP call_user_func alternative
body: <p>I am looking for a pretty equivalent in PHP to its function <code>call_user_func</code>.
  The problem I am encountering with this function is that it does not go into an "object mode". By this, I mean I cannot use <code>$this</code> and other stuff in the class, so pretty much in two words: not oop.</p>
  
  <p>I need this basically as I am dealing with the requested url, parsing it, and seeing if everything is ok and so on, and then doing the following lines:</p>
  
  <pre><code>call_user_func(array(ucfirst( $controller . "Controller" ),  '_initAction'), $param);       
  call_user_func(array(ucfirst( $controller . "Controller" ), $action . 'Action'), $param);
  </code></pre>
  
  <p>as I want to dynamically call the <code>"Controller"</code> and its actions. But I cannot use <code>$this</code> in the <code>$action</code> methods as it is not OOP.</p>
  
  <p>Here the message I get:</p>
  
  <pre><code>Fatal error: Using $this when not in object context in E:\htdocs\wit\application\controller\InformationController.php on line 6
  </code></pre>
  
  <p>So I hope that somebody could help me. </p>
  
  <p>Could you also tell me if I am approaching this problem in a wrong way? </p>
  
  <p>PS: Please don't recommend me any MVC frameworks that take care of this stuff. I like Zend, but sometimes, its just too heavy :(( I need a lightweight setup for this.</p>