- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
- Fatal error: Declaration of B::test($a, $b, $c) must be compatible with A::test($a, $b) in /in/HAFNi on line 14
Process exited with code 255.
<?php
abstract class A
{
abstract protected function test($a, $b);
}
class B extends A
{
protected function test($a, $b, $c)
{
return;
}
}