downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

class_alias> <call_user_method_array
Last updated: Fri, 11 Dec 2009

view this page in

call_user_method

(PHP 4, PHP 5)

call_user_methodCall a user method on an specific object [deprecated]

Description

mixed call_user_method ( string $method_name , object &$obj [, mixed $parameter [, mixed $... ]] )
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



add a note add a note User Contributed Notes
call_user_method
There are no user contributed notes for this page.

class_alias> <call_user_method_array
Last updated: Fri, 11 Dec 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites