3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotFinal { protected function hello($string = '' ) { echo 'hello'; } } final class ThisIsFinal extends NotFinal { public function hello(array $witharg) { return parent::hello(); } } $class = new ThisIsFinal(); $class->hello();

This is an error 404

There are `0` results


preferences:
172.1 ms | 1403 KiB | 7 Q