<?php class A{ private $lol; function __construct(int $lol){ $this->lol = $lol; } } class B{ function __construct(){ A::__construct(20); } } $x = new B; var_dump($x);
You have javascript disabled. You will not be able to edit any code.