splenum.getconstlist(3) php man page | unix.com

Man Page: splenum.getconstlist

Operating Environment: php

Section: 3

SPLENUM.GETCONSTLIST(3) 						 1						   SPLENUM.GETCONSTLIST(3)

SplEnum::getConstList - Returns all consts (possible values) as an array.

SYNOPSIS
public array SplEnum::getConstList ([bool $include_default = false])
DESCRIPTION
Warning This function is currently not documented; only its argument list is available.
PARAMETERS
o $include_default - Whether to include __default property.
RETURN VALUES
EXAMPLES
Example #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)
Related Man Pages
isset(3) - php
splobjectstorage(3) - php
cairo_has_current_point(3) - php
class_alias(3) - php
is_string(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch