You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sts/src/validateSTSXML.php

12 lines
241 B
PHP

<?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;
}
}
?>