"PHP function exists()"의 두 판 사이의 차이

 
1번째 줄: 1번째 줄:
==개요==
==개요==
{{DISPLAYTITLE:PHP function_exists()}}
;PHP function_exists()
;PHP function_exists()
* 함수가 있는지 확인하는 PHP 함수
* 함수가 있는지 확인하는 PHP 함수

2021년 4월 25일 (일) 00:27 기준 최신판

1 개요[ | ]

PHP function_exists()
  • 함수가 있는지 확인하는 PHP 함수
function func1() {}

var_dump( function_exists('func1') ); # bool(true)
var_dump( function_exists('func2') ); # bool(false)

2 같이 보기[ | ]

3 참고[ | ]

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