I need to run correctly something like this:
$anchor->get_by_number(49)->set_value("hello");
Where the object name, methods, and parameters are variables:
$object = 'anchor';
$method1 = 'get_by_number';
$params1 = array('49');
$method2 = 'set_value';
$params2 = array('hello');
Using call_user_func_array
, or maybe somebody knows the alternatives.