3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_string("<parent><child>The child.</child></parent>"); foreach(get_class_methods($xml) as $method) { echo $method; } echo "Hello world!" ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/99ddK
function name:  (null)
number of ops:  14
compiled vars:  !0 = $xml, !1 = $method
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3Cparent%3E%3Cchild%3EThe+child.%3C%2Fchild%3E%3C%2Fparent%3E'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'get_class_methods'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7      > FE_RESET_R                                       $5      $4, ->11
          8    > > FE_FETCH_R                                               $5, !1, ->11
    6     9    >   ECHO                                                     !1
    5    10      > JMP                                                      ->8
         11    >   FE_FREE                                                  $5
    8    12        ECHO                                                     'Hello+world%21'
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.32 ms | 1394 KiB | 17 Q