3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar(); } class Baz implements Foo { public function bar($args = null ) { var_dump('määäh'); } } $baz = new Baz; $baz->bar();

preferences:
18.42 ms | 402 KiB | 5 Q