<?php declare(strict_types=1); class A { public function __construct(string $a) {} } class B extends A { public function __construct(int $a) {} } new A("1"); new B(1);
You have javascript disabled. You will not be able to edit any code.