1--TEST--
2Testing ReflectionClass::isEnum()
3--FILE--
4<?php
5
6class Foo {}
7enum Bar {
8    case Baz;
9}
10
11$fooReflection = new ReflectionClass(Foo::class);
12$barReflection = new ReflectionClass(Bar::class);
13
14var_dump($fooReflection->isEnum());
15var_dump($barReflection->isEnum());
16
17?>
18--EXPECT--
19bool(false)
20bool(true)
21