CALL_USER_METHOD_ARRAY(3) 1 CALL_USER_METHOD_ARRAY(3)
call_user_method_array - Call a user method given with an array of parameters
SYNOPSIS
mixed call_user_method_array (string $method_name, object &$obj, array $params)
DESCRIPTION
Warning
The call_user_method_array(3) function is deprecated as of PHP 4.1.0.
PARAMETERS
o $method_name
- The method name being called.
o $obj
- The object that $method_name is being called on.
o $params
- An array of parameters.
EXAMPLES
Example #1
call_user_method_array(3) alternative
<?php
call_user_func_array(array($obj, $method_name), $params);
?>
SEE ALSO
call_user_func_array(3), call_user_func(3).
PHP Documentation Group CALL_USER_METHOD_ARRAY(3)