call_user_method

(PHP 4, PHP 5)

call_user_method특정 객체의 사용자 메쏘드를 호출 [배제됨]

설명

mixed call_user_method ( string $method_name , object &$obj [, mixed $parameter [, mixed $... ]] )
Warning

call_user_method() 함수는 PHP 4.1.0부터 배제되었습니다.

예제

Example #1 call_user_method() 대체

<?php
call_user_func
(array($obj$method_name), $parameter /* , ... */);
call_user_func(array(&$obj$method_name), $parameter /* , ... */); // PHP 4
?>

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top