<?php class A { public function __construct(int $x) { echo $x; } } class B extends A { public function __construct(int $y) { parent::__construct($y); } } new B(123);
You have javascript disabled. You will not be able to edit any code.