3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! error_reporting(E_ALL); class AA { public function x($a) { $a = $b; } } class BB extends AA { public function x($a, $b) { return parent::x($a); } } $b = new BB(); $b->x(1, 2);

This is an error 404

There are `0` results


preferences:
141.16 ms | 1399 KiB | 7 Q