<?php class A {} class B { public function __construct( public A $a = new A() ) { } } var_dump(new B);
You have javascript disabled. You will not be able to edit any code.