PHP call user func array()

Jmnote bot (토론 | 기여)님의 2017년 6월 27일 (화) 12:26 판 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))

1 개요

PHP call_user_func_array()
  • 파라미터 배열로 콜백함수를 호출하는 PHP 함수
<?php
function foobar($arg, $arg2) {
    echo __FUNCTION__, " got $arg and $arg2\n";
}
call_user_func_array("foobar", array("one", "two"));
# foobar got one and two

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}