3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I1 { public function i1(); } interface I2 { public function i2(); } abstract class A implements I1, I2{ public function i1() { echo "i1"; } public function i2() { echo "i2"; } } class B extends A {} $a = new B(); $a->i1(); $a->i2();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50OAM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   DECLARE_CLASS                                            'a'
   20     1        DECLARE_CLASS                                            'b', 'a'
   22     2        NEW                                              $1      'B'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
   23     5        INIT_METHOD_CALL                                         !0, 'i1'
          6        DO_FCALL                                      0          
   24     7        INIT_METHOD_CALL                                         !0, 'i2'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Class I1:
Function i1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50OAM
function name:  i1
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   null

End of function i1

End of class I1.

Class I2:
Function i2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50OAM
function name:  i2
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   null

End of function i2

End of class I2.

Class A:
Function i1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50OAM
function name:  i1
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   ECHO                                                     'i1'
   14     1      > RETURN                                                   null

End of function i1

Function i2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/50OAM
function name:  i2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ECHO                                                     'i2'
   17     1      > RETURN                                                   null

End of function i2

End of class A.

Class B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.8 ms | 1395 KiB | 13 Q