php man page for call_user_method

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 object

SYNOPSIS
mixed call_user_method (string $method_name, object &$obj, [mixed $parameter], [mixed $...])
DESCRIPTION
Warning The call_user_method(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 $parameter ... - The optional parameters.
EXAMPLES
Example #1 call_user_method(3) alternative <?php call_user_func(array($obj, $method_name), $parameter /* , ... */); ?>
SEE ALSO
call_user_func_array(3), call_user_func(3). PHP Documentation Group CALL_USER_METHOD(3)
Related Man Pages
get_class_methods(3) - php
arrayaccess(3) - php
method_exists(3) - php
register_tick_function(3) - php
reflectionmethod.invokeargs(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch