downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<call_user_method_arrayclass_exists>
Last updated: Thu, 26 Jun 2008

call_user_method

(PHP 4, PHP 5)

call_user_method — Call 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
?>



add a noteadd a note User Contributed Notes
Call a user method on an specific object [deprecated]
There are no user contributed notes for this page.




<call_user_method_arrayclass_exists>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs