update : 2015.11.03
php.shukuma.com검색:
|
ReflectionClass::hasMethod(PHP 5 >= 5.1.0) ReflectionClass::hasMethod — Checks if method is defined 설명
public bool ReflectionClass::hasMethod
( string
$name
)Checks whether a specific method is defined in a class. 인수
반환값
예제
Example #1 ReflectionClass::hasMethod() example
<?php 위 예제의 출력: bool(true) bool(true) bool(true) bool(true) bool(false) bool(true) 참고
|