3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Accessor { public static function int():int { var_dump(new ReflectionEnum(self)); } } enum Titular: int { use Accessor; case minimus=1; case maximus=2; } echo Titular::minimus::int();

preferences:
28.93 ms | 404 KiB | 5 Q