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