SPLENUM.GETCONSTLIST(3) 1 SPLENUM.GETCONSTLIST(3) SplEnum::getConstList - Returns all consts (possible values) as an array.SYNOPSISpublic array SplEnum::getConstList ([bool $include_default = false])DESCRIPTIONWarning This function is currently not documented; only its argument list is available.PARAMETERSo $include_default - Whether to include __default property.RETURN VALUESEXAMPLESExample #1 SplEnum.getConstList(3) example <?php $bool = new SplBool; var_dump($bool->getConstList(true)); ?> The above example will output: array(3) { ["__default"]=> bool(false) ["false"]=> bool(false) ["true"]=> bool(true) } PHP Documentation Group SPLENUM.GETCONSTLIST(3)