(PECL spl_types >= 0.1.0)
SplEnum::getConstList — Returns all consts (possible values) as an array.
$include_default = false
  ] )
Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.
include_defaultWhether to include __default property.
Örnek 1 SplEnum::getConstList() example
<?php
$bool = new SplBool;
var_dump($bool->getConstList(true));
?>
Yukarıdaki örneğin çıktısı:
array(3) {
  ["__default"]=>
  bool(false)
  ["false"]=>
  bool(false)
  ["true"]=>
  bool(true)
}