--TEST-- ReflectionEnum::__toString() --FILE-- --EXPECTF-- Class [ final class Foo implements UnitEnum ] { @@ %sReflectionEnum_toString.php 3-5 - Constants [1] { Constant [ public Foo Bar ] { Object } } - Static properties [0] { } - Static methods [1] { Method [ static public method cases ] { - Parameters [0] { } - Return [ array ] } } - Properties [1] { Property [ public protected(set) readonly string $name ] } - Methods [0] { } }