3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = @new SimpleXMLElement('X', 1); var_dump($xml->getDocNamespaces());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GL12U
function name:  (null)
number of ops:  13
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~1      
          1        NEW                                              $2      'SimpleXMLElement'
          2        SEND_VAL_EX                                              'X'
          3        SEND_VAL_EX                                              1
          4        DO_FCALL                                      0          
          5        END_SILENCE                                              ~1
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_METHOD_CALL                                         !0, 'getDocNamespaces'
          9        DO_FCALL                                      0  $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.17 ms | 1009 KiB | 14 Q