<?php
abstract class MyClass extends MyClass {}
final class MyClass implements MyInterface {}
interface MyInterface {}
trait MyTrait {}
enum MyEnum implements Colorful {}

readonly class MyClass
{
    var $myVar = null;
    const myConst = true;
}

$a = new class() {};

$anon = new readonly class() {};

class FinalProperties {
    final int $prop = 1;
}

abstract class AbstractProperties {
    abstract int $prop {set;}
}
