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:
146.36 ms | 1399 KiB | 7 Q