- Output for 7.3.27, 7.4.0 - 7.4.27, 8.0.1 - 8.0.15, 8.1.0 - 8.1.2
- Fatal error: Cannot redeclare C::method() in /in/Zakto on line 8
Process exited with code 255.
<?php
interface I {
public function method(array $a);
}
class C implements I {
public function method(array $b) {}
public function method(int $a) {}
}