<?php function test1(): X|Y|int|float|false|null { } var_dump((new ReflectionFunction('test1'))->getReturnType()->allowsNull());
You have javascript disabled. You will not be able to edit any code.