No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)

Introduction

The ReflectionEnumBackedCase class reports information about an Enum backed case, which has a scalar equivalent.

PHP: ReflectionEnumBackedCase - Manual Home of Manuel PHP  Contents Haut

Class synopsis

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* Inherited constants */
/* Inherited properties */
public string $name;
public string $class;
/* Methods */
public __construct(object|string $class, string $constant)
public getBackingValue(): int|string
/* Inherited methods */
public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
public ReflectionClassConstant::getAttributes(?string $name = null, int $flags = 0): array
}

PHP: ReflectionEnumBackedCase - Manual Home of Manuel PHP  Contents Haut

Table of Contents

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph