--TEST-- Testing Closure::fromCallable() functionality: Reflection --FILE-- getParameters() as $param) { if ($param->hasType()) { $type = $param->getType(); echo $type->getName() . "\n"; } } } ?> --EXPECTF-- Bar int Bar int Bar int Bar int