| PHP » GoLang | login |
            register |
            
            about | 
| GoLang SplEnum::getConstList
                                request it (587)
                            GoLang replacement for PHP's SplEnum::getConstList
                            [edit | history] 
                             SplEnum::getConstList(PECL spl_types >= 0.1.0) SplEnum::getConstList — Returns 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
 Return Values
 Examples
 Example #1 SplEnum::getConstList() example 
<?phpThe above example will output: 
array(3) {
  ["__default"]=>
  bool(false)
  ["false"]=>
  bool(false)
  ["true"]=>
  bool(true)
}
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |