<?php class Foo { function test(int $a, string $b) { } } var_dump((new ReflectionMethod(Foo::class, 'test'))->getParameters());
You have javascript disabled. You will not be able to edit any code.