3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = "<root><a>1</a><b>2</b></root>"; $xml = simplexml_load_string($xml); var_dump($xml->children()->getName());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3UE09
function name:  (null)
number of ops:  13
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Croot%3E%3Ca%3E1%3C%2Fa%3E%3Cb%3E2%3C%2Fb%3E%3C%2Froot%3E'
    3     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'var_dump'
          6        INIT_METHOD_CALL                                         !0, 'children'
          7        DO_FCALL                                      0  $4      
          8        INIT_METHOD_CALL                                         $4, 'getName'
          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:
165.73 ms | 1010 KiB | 15 Q