3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new_xmldoc("1.0"); echo get_resource_type($doc->doc) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L88RG
function name:  (null)
number of ops:  11
compiled vars:  !0 = $doc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'new_xmldoc'
          1        SEND_VAL_EX                                              '1.0'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'get_resource_type'
          5        FETCH_OBJ_R                                      ~3      !0, 'doc'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        CONCAT                                           ~5      $4, '%0A'
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.6 ms | 1394 KiB | 15 Q