call_user_method
(PHP 4, PHP 5)
call_user_method — Call a user method on an specific object [deprecated]
Description
Warning
The call_user_method() function is deprecated as of PHP 4.1.0.
Examples
Example #1 call_user_method() alternative
<?php
call_user_func(array($obj, $method_name), $parameter /* , ... */);
call_user_func(array(&$obj, $method_name), $parameter /* , ... */); // PHP 4
?>
See Also
- call_user_func_array() - Call a user function given with an array of parameters
- call_user_func() - Call a user function given by the first parameter
call_user_method
There are no user contributed notes for this page.
