3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class X<T>{ public function m(T $a){} } function f(asdada $x, int $two, ?int $three, @int $four) {} $r = new ReflectionMethod('X::m'); foreach ($r->getParameters() as $p) { var_dump($p->getTypehintText(), $p->getTypeText()); echo "\n\n"; }

This is an error 404

There are `0` results


preferences:
164.19 ms | 1399 KiB | 7 Q