yayy new stuffs
This commit is contained in:
		
							parent
							
								
									443887dc10
								
							
						
					
					
						commit
						aea5136ef5
					
				
					 5 changed files with 48 additions and 2 deletions
				
			
		
							
								
								
									
										12
									
								
								src/validateSTSXML.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								src/validateSTSXML.php
									
										
									
									
									
										Normal 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; | ||||
|     } | ||||
|   } | ||||
| ?>
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 whotookelburg
						whotookelburg