3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = xmlwriter_open_memory(); xmlwriter_start_pi($xml, 'lol'); xmlwriter_end_pi($xml); var_dump(xmlwriter_flush($xml));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80Gu3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'xmlwriter_open_memory'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    4     3        INIT_FCALL                                               'xmlwriter_start_pi'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'lol'
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'xmlwriter_end_pi'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'xmlwriter_flush'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.54 ms | 1394 KiB | 23 Q