3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach((new ReflectionMethod('DOMNamedNodeMap::getNamedItemNS'))->getParameters() as $parameter) { echo "Parameter name: "; var_dump($parameter->getName()); echo "Has type: "; var_dump($parameter[0]->getType()); var_dump($parameter[1]->getType()); var_dump($parameter[3]->getType()); }

preferences:
29.75 ms | 458 KiB | 5 Q