yayy new stuffs

This commit is contained in:
whotookelburg 2023-01-30 18:33:10 +00:00
parent 443887dc10
commit aea5136ef5
5 changed files with 48 additions and 2 deletions

12
src/validateSTSXML.php Normal file
View file

@ -0,0 +1,12 @@
<?php
libxml_use_internal_errors(true);
function validateXML($xmlstr,$type): bool{
if($type=="flags"){
$_xml=simplexml_load_string($xmlstr);
if($_xml===false){
return false;
}
return true;
}
}
?>