3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->fc = simplexml_load_string('<QRY_A19 xmlns="urn:hl7-org:v2xml"></QRY_A19>','SimpleXMLElement', LIBXML_NOCDATA); $domrequest = dom_import_simplexml($this->fc); $xml = $this->fc->asXML(); print_r($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j79Vd
function name:  (null)
number of ops:  23
compiled vars:  !0 = $domrequest, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $2      
          1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAL                                                 '%3CQRY_A19+xmlns%3D%22urn%3Ahl7-org%3Av2xml%22%3E%3C%2FQRY_A19%3E'
          3        SEND_VAL                                                 'SimpleXMLElement'
          4        SEND_VAL                                                 16384
          5        DO_ICALL                                         $4      
          6        ASSIGN_OBJ                                               $2, 'fc'
          7        OP_DATA                                                  $4
    3     8        INIT_FCALL                                               'dom_import_simplexml'
          9        FETCH_THIS                                       $5      
         10        FETCH_OBJ_R                                      ~6      $5, 'fc'
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !0, $7
    5    14        FETCH_THIS                                       $9      
         15        FETCH_OBJ_R                                      ~10     $9, 'fc'
         16        INIT_METHOD_CALL                                         ~10, 'asXML'
         17        DO_FCALL                                      0  $11     
         18        ASSIGN                                                   !1, $11
    7    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.56 ms | 1395 KiB | 19 Q