Lines Matching refs:xml
6 xml
11 $xml = <<<EOT
12 <?xml version="1.0" encoding="UTF-8"?>
18 $xml = str_replace('XXE_URI', $dir . '/libxml_disable_entity_loader_payload.txt', $xml);
20 function parseXML1($xml) {
22 $doc->loadXML($xml, 0);
26 function parseXML2($xml) {
27 return simplexml_load_string($xml);
30 function parseXML3($xml) {
32 xml_parse_into_struct($p, $xml, $vals, $index);
37 function parseXML4($xml) {
39 return simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOENT);
42 var_dump(strpos(parseXML1($xml), 'SECRET_DATA') === false);
43 var_dump(strpos(parseXML2($xml), 'SECRET_DATA') === false);
44 var_dump(strpos(parseXML3($xml), 'SECRET_DATA') === false);
45 var_dump(strpos(parseXML4($xml), 'SECRET_DATA') === false);