3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); trait T { abstract public static function bar(); } class Foo { use T; public static function bar() { var_dump("bar"); } } var_dump(new ReflectionClass('T')); (new Foo)->bar();

preferences:
29.26 ms | 402 KiB | 5 Q