3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOD <?xml version="1.0" encoding="UTF-8"?> <gvq:GVQ_Metadata xmlns:gvq="http://www.geoviqua.org/QualityInformationModel/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:updated19115="http://www.geoviqua.org/19115_updates" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gmd19157="http://www.geoviqua.org/gmd19157" xmlns:un="http://www.uncertml.org/2.0" id="dataset_MD" xsi:schemaLocation="http://www.isotc211.org/2005/gmx http://schemas.opengis.net/iso/19139/20070417/gmx/gmx.xsd http://www.geoviqua.org/QualityInformationModel/4.0 http://schemas.geoviqua.org/GVQ/4.0/GeoViQua_PQM_UQM.xsd http://www.uncertml.org/2.0 http://www.uncertml.org/uncertml.xsd"> <gmd:fileIdentifier xmlns:gmd="http://www.isotc211.org/2005/gmd"> <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">mtri2an1ib</gco:CharacterString> </gmd:fileIdentifier> </gvq:GVQ_Metadata> EOD; $dom = new DOMDocument; $dom->loadXML($xml); print_r($dom->getElementsByTagName("gmd:fileIdentifier")); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s6VSn
function name:  (null)
number of ops:  14
compiled vars:  !0 = $xml, !1 = $dom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3Cgvq%3AGVQ_Metadata+xmlns%3Agvq%3D%22http%3A%2F%2Fwww.geoviqua.org%2FQualityInformationModel%2F4.0%22+xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+xmlns%3Aupdated19115%3D%22http%3A%2F%2Fwww.geoviqua.org%2F19115_updates%22+xmlns%3Agmd%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%22+xmlns%3Agco%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgco%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%2F3.2%22+xmlns%3Agmx%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx%22+xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22+xmlns%3Agmd19157%3D%22http%3A%2F%2Fwww.geoviqua.org%2Fgmd19157%22+xmlns%3Aun%3D%22http%3A%2F%2Fwww.uncertml.org%2F2.0%22+id%3D%22dataset_MD%22+xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx+http%3A%2F%2Fschemas.opengis.net%2Fiso%2F19139%2F20070417%2Fgmx%2Fgmx.xsd+http%3A%2F%2Fwww.geoviqua.org%2FQualityInformationModel%2F4.0+http%3A%2F%2Fschemas.geoviqua.org%2FGVQ%2F4.0%2FGeoViQua_PQM_UQM.xsd+http%3A%2F%2Fwww.uncertml.org%2F2.0+http%3A%2F%2Fwww.uncertml.org%2Funcertml.xsd%22%3E%0A++%3Cgmd%3AfileIdentifier+xmlns%3Agmd%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%22%3E%0A%09%09%3Cgco%3ACharacterString+xmlns%3Agco%3D%22http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgco%22%3Emtri2an1ib%3C%2Fgco%3ACharacterString%3E%0A%09%3C%2Fgmd%3AfileIdentifier%3E%0A%3C%2Fgvq%3AGVQ_Metadata%3E'
   11     1        NEW                                              $3      'DOMDocument'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
   12     4        INIT_METHOD_CALL                                         !1, 'loadXML'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
   14     7        INIT_FCALL                                               'print_r'
          8        INIT_METHOD_CALL                                         !1, 'getElementsByTagName'
          9        SEND_VAL_EX                                              'gmd%3AfileIdentifier'
         10        DO_FCALL                                      0  $7      
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
   16    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.9 ms | 1387 KiB | 15 Q