3v4l.org

run code in 500+ PHP versions simultaneously
<?php $writer = new XMLWriter(); $writer->openMemory(); $writer->startElement("tag-(with)-brackets"); $writer->endElement(); var_dump($writer->outputMemory());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OurBC
function name:  (null)
number of ops:  16
compiled vars:  !0 = $writer
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'XMLWriter'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
    4     3        INIT_METHOD_CALL                                             !0, 'openMemory'
          4        DO_FCALL                                          0          
    5     5        INIT_METHOD_CALL                                             !0, 'startElement'
          6        SEND_VAL_EX                                                  'tag-%28with%29-brackets'
          7        DO_FCALL                                          0          
    6     8        INIT_METHOD_CALL                                             !0, 'endElement'
          9        DO_FCALL                                          0          
    7    10        INIT_FCALL                                                   'var_dump'
         11        INIT_METHOD_CALL                                             !0, 'outputMemory'
         12        DO_FCALL                                          0  $7      
         13        SEND_VAR                                                     $7
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.46 ms | 2599 KiB | 14 Q