<?php class One {} class Two {} function check(One|Two $object): void { var_dump($object); } check(new One); check(new Two);
You have javascript disabled. You will not be able to edit any code.