3 Comments to “Dynamic Function Calling in PHP”

  1. Tom

    Sep 4th, 2008

    You can also do
    $R->$function($param, $param2);

  2. Thankz for the information. Its too simple by comparing with PHP.net site. But anyhow its worthy for few coders like me.

  3. Igor Carrasco

    Jan 16th, 2010

    Thanks, this was useful.
    You have a mistake in you link “For more info”, pattern=call_user_fun and it needs to be pattern=call_user_func.


Leave a Reply