SplEnum::getConstList

SplEnum::getConstList

(PECL spl_types >= 0.1.0)

SplEnum::getConstListReturns all consts (possible values) as an array.

Description

public array SplEnum::getConstList ([ bool $include_default = false ] )
Warning

This function is currently not documented; only its argument list is available.

Parameters

include_default

Whether to include __default property.