(PHP 4 >= 4.0.5, PHP 5)
call_user_method_array — Call a user method given with an array of parameters [deprecated]
The call_user_method_array() function is deprecated as of PHP 4.1.0.
method_name
The method name being called.
obj
The object that method_name
is being called on.
params
An array of parameters.
Beispiel #1 call_user_method_array() alternative
<?php
call_user_func_array(array($obj, $method_name), $params);
call_user_func_array(array(&$obj, $method_name), $params); // PHP 4
?>