3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class class1 { abstract public function someFunc($a, $b); } class class2 extends class1 { public function someFunc($a, $b) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KnvfH
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Class class1:
Function somefunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KnvfH
function name:  someFunc
number of ops:  3
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2      > RETURN                                                   null

End of function somefunc

End of class class1.

Class class2:
Function somefunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KnvfH
function name:  someFunc
number of ops:  3
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2      > RETURN                                                   null

End of function somefunc

End of class class2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.46 ms | 1393 KiB | 13 Q