- Output for 5.5.0 - 5.5.37, 5.6.0 - 5.6.23, 7.0.0 - 7.0.8
- Fatal error: Cannot override final method Foo::test() in /in/6vgbs on line 16
Process exited with code 255.
<?php
class Foo
{
final private function test()
{
}
}
final class Bar extends Foo
{
final private function test()
{
}
}