3v4l.org

run code in 300+ PHP versions simultaneously
<?php $memory = xmlwriter_open_memory(); xmlwriter_start_document($memory,'1.0','UTF-8'); xmlwriter_start_element_ns ($memory,'FolderSync', "FolderHierarchy"); xmlwriter_start_element($memory, "SyncKey"); xmlwriter_write_raw("0"); xmlwriter_end_element($memory); echo xmlwriter_output_memory($memory,true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FEm5q
function name:  (null)
number of ops:  29
compiled vars:  !0 = $memory
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'xmlwriter_open_memory'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    3     3        INIT_FCALL                                               'xmlwriter_start_document'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '1.0'
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'xmlwriter_start_element_ns'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'FolderSync'
         11        SEND_VAL                                                 'FolderHierarchy'
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'xmlwriter_start_element'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 'SyncKey'
         16        DO_ICALL                                                 
    6    17        INIT_FCALL                                               'xmlwriter_write_raw'
         18        SEND_VAL                                                 '0'
         19        DO_ICALL                                                 
    7    20        INIT_FCALL                                               'xmlwriter_end_element'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
    9    23        INIT_FCALL                                               'xmlwriter_output_memory'
         24        SEND_VAR                                                 !0
         25        SEND_VAL                                                 <true>
         26        DO_ICALL                                         $8      
         27        ECHO                                                     $8
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.84 ms | 1395 KiB | 27 Q