3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { } var_dump( get_class(new class implements Foo {}), get_class(new class implements Foo {}) );

preferences:
61.82 ms | 404 KiB | 5 Q