3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.66 ms | 1394 KiB | 19 Q