1 개요[ | ]
- PHP func_get_args()
PHP
Copy
function foo() {
$args = func_get_args();
print_r( $args );
}
foo('hello', 'world', 3);
# Array
# (
# [0] => hello
# [1] => world
# [2] => 3
# )
2 같이 보기[ | ]
- PHP func_get_arg()
- PHP func_num_args()
- PHP call_user_func_array()
- PHP 가변길이 매개변수 함수 사용
- func_get_args()
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- PHP (8)
PHP 파일 다운로드 구현 2 (한글 파일명 지원) ― …PHP에서 오라클 DB 사용 ― YoWuPHP 파일 업로드 구현 ― 일리단사오육칠PHP 파일 업로드 구현 ― JmnotePHP 파일 다운로드 구현 2 (한글 파일명 지원) ― AnmkstLib my.php ― 신정섭Lib my.php ― Jmnote로또번호 생성 ―Pinkcrimson