- Output for 7.1.0 - 7.1.16, 7.2.0 - 7.2.4
- Fatal error: Declaration of B::x() must be compatible with A::x(): void in /in/4QqdS on line 15
Process exited with code 255.
<?php
class A
{
function x() : void
{
}
}
class B extends A
{
function x()
{
}
}