<?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() {};
