<?php declare(strict_types=1); class Foo {} function test() : Foo { return new Foo; } var_dump(test());
You have javascript disabled. You will not be able to edit any code.