1--TEST--
2ReflectionEnum::isBacked()
3--FILE--
4<?php
5
6enum Enum_ {}
7enum IntEnum: int {}
8enum StringEnum: string {}
9
10function test(): string {}
11
12var_dump((new ReflectionEnum(Enum_::class))->isBacked());
13var_dump((new ReflectionEnum(IntEnum::class))->isBacked());
14var_dump((new ReflectionEnum(StringEnum::class))->isBacked());
15
16?>
17--EXPECT--
18bool(false)
19bool(true)
20bool(true)
21