Quick actions

cmd+k|ctrl+k

Navigation

Languages

Php7 anonymous class

Snippet info

Language

Php

Visibility

public

Author

petter

Created

2015-06-17T22:02:50Z

Updated

2015-06-25T20:09:40Z

<?php

$foo = new class() {
    public function bar() {
        return "bar";
    }
};

echo $foo->bar();
INFO