본문 바로가기
메인메뉴 바로가기
푸터 바로가기
통합검색
웹개발
PHP
CodeIgniter
Laravel
DataBase
Linux
INFO
네이버검색API
통합검색
BookMark
BLOG
날씨 · 환율 정보
여행사진
서울시
경기도
강원도
충청도
전라도
경상도
제주도
해외여행
광안대교 일출
광안대교 야경
꽃지해변 일몰
보라카이
광안대교 일몰
PHP
function_exists — Return TRUE if the given function has been defined
조회수
4,533
작성일
2009-08-30
bool
function_exists
(
string
$function_name
)
<?php
if (
function_exists
(
'imap_open'
)) {
echo
"IMAP functions are available.<br />\n"
;
} else {
echo
"IMAP functions are not available.<br />\n"
;
}
?>
if(function_exists("mb_detect_encoding")) {
echo "33333333";
echo "<br/>";
}
Comment
2010-05-01
함수 유무
이전글
Encode email
다음글
crypt — 단방향 문자열 암호화
목록으로