<?php $f = function (X&Y $foo = null) {}; $r = new ReflectionParameter($f, 0); var_dump($r->getType()->allowsNull());
You have javascript disabled. You will not be able to edit any code.