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