3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { function get() {} function set($bar) {} } class Qux extends Foo { function get(): Baz {} function set(Baz $bar) {} }