|
update : 2015.11.03
php.shukuma.com검색:
|
SplEnum::getConstList(PECL spl_types >= 0.1.0) SplEnum::getConstList — Returns all consts (possible values) as an array. 설명
public array SplEnum::getConstList
([ bool
$include_default = false
] )
Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다. 인수
반환값
예제
Example #1 SplEnum::getConstList() example
<?php위 예제의 출력:
array(3) {
["__default"]=>
bool(false)
["false"]=>
bool(false)
["true"]=>
bool(true)
}
|