3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php use Selami\Foundation\App; class MyClass { public function __construct(App $app) { } } $method = new ReflectionMethod(MyClass::class, '__construct'); var_dump($method->getParameters());
Output for 7.1.7
array(1) { [0]=> object(ReflectionParameter)#2 (1) { ["name"]=> string(3) "app" } }