call_user_method_array

(PHP 4 >= 4.0.5, PHP 5)

call_user_method_array인수 배열로 사용자 메소드를 호출 [배제됨]

설명

mixed call_user_method_array ( string $method_name , object &$obj , array $params )
Warning

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

예제

Example #1 call_user_method_array() 대체

<?php
call_user_func_array
(array($obj$method_name), $params);
call_user_func_array(array(&$obj$method_name), $params); // PHP 4

참고

add a note add a note

User Contributed Notes

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