Method exists

Jmnote (토론 | 기여)님의 2014년 8월 24일 (일) 17:50 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
method_exists

1 PHP[ | ]

$directory = new Directory('.');
var_dump(method_exists($directory,'read'));
// bool(true)
static method
var_dump(method_exists('Directory','read'));
// bool(true)

2 같이 보기[ | ]

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