3v4l.org

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

preferences:
39.73 ms | 402 KiB | 5 Q