- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
- Fatal error: Access level to Bar::abc() must be public (as in class Foo) in /in/a1lN4 on line 19
Process exited with code 255.
<?php
abstract class Foo
{
public function abc()
{
}
}
class Bar extends Foo
{
protected function abc()
{
}
}