Query: call_user_method
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CALL_USER_METHOD(3) 1 CALL_USER_METHOD(3) call_user_method - Call a user method on an specific objectSYNOPSISmixed call_user_method (string $method_name, object &$obj, [mixed $parameter], [mixed $...])DESCRIPTIONWarning The call_user_method(3) function is deprecated as of PHP 4.1.0.PARAMETERSo $method_name - The method name being called. o $obj - The object that $method_name is being called on. o $parameter ... - The optional parameters.EXAMPLESExample #1 call_user_method(3) alternative <?php call_user_func(array($obj, $method_name), $parameter /* , ... */); ?>SEE ALSOcall_user_func_array(3), call_user_func(3). PHP Documentation Group CALL_USER_METHOD(3)