Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
Classes/Object Functions
PHP Manual

call_user_method_array

(PHP 4 >= 4.0.5, PHP 5)

call_user_method_arrayCall a user method given with an array of parameters [deprecated]

Description

mixed call_user_method_array ( string $method_name , object &$obj , array $params )
Warning

The call_user_method_array() function is deprecated as of PHP 4.1.0.

Examples

Example #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
?>

See Also


Classes/Object Functions
PHP Manual