<?php
interface foo { public function test($foo = true, $bar = false); }
class bar implements foo { public function test($baz, $faz) { echo 'test'; } }
$a = new bar();
$a->test('lol');
Fatal error: Declaration of bar::test($baz, $faz) must be compatible with foo::test($foo = true, $bar = false) in /in/rLdcN on line 3
Process exited with code 255.
Fatal error: Declaration of bar::test() must be compatible with foo::test($foo = true, $bar = false) in /in/rLdcN on line 3
Process exited with code 255.