*/ class TestStaticClass { public static function main() { $tagParser = new DefinitionParser(); $defs = $tagParser->parse(getcwd() . '/xml/defines-static.xml'); $conf = new XmlParser(); $conf->setTagDefinitions($defs); try { $conf->parse(getcwd() . '/xml/test-static.xml'); } catch (Exception $e) { throw $e; exit(); } var_dump(Registry::export()); } } TestStaticClass::main(); ?>