3v4l.org

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

preferences:
32.06 ms | 404 KiB | 5 Q