3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8VYp0
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   NEW                                              $0      'Foo'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'do_foo'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Foo:
Function do_foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8VYp0
function name:  do_foo
number of ops:  21
compiled vars:  !0 = $outside_foo, !1 = $foo_in_try, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, null
    8     1        ASSIGN                                                   !0, 'Outside+Foo'
    9     2        ASSIGN                                                   !1, 'Foo+In+Try'
   10     3        ASSIGN_OBJ                                               'foo_in_class'
          4        OP_DATA                                                  'Foo+in+Class'
   11     5        NEW                                              $7      'Exception'
          6        DO_FCALL                                      0          
          7      > THROW                                         0          $7
          8*       JMP                                                      ->20
   12     9  E > > CATCH                                       last         'Exception'
   13    10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   14    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
   15    16        INIT_FCALL                                               'var_dump'
         17        FETCH_OBJ_R                                      ~11     'foo_in_class'
         18        SEND_VAL                                                 ~11
         19        DO_ICALL                                                 
   17    20      > RETURN                                                   null

End of function do_foo

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
219.87 ms | 969 KiB | 14 Q