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