3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface test2 { function foo2(); } interface test3 { function foo3(); } interface test extends test2, test3 { } class foo implements test { function foo3() { } function foo2() { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VU50W
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   DECLARE_CLASS                                            'test'
   25     1        DECLARE_CLASS                                            'foo'
   38     2      > RETURN                                                   1

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

End of function foo2

End of class test2.

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

End of function foo3

End of class test3.

Class test: [no user functions]
Class foo:
Function foo3:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VU50W
function name:  foo3
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E > > RETURN                                                   null

End of function foo3

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

End of function foo2

End of class foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.46 ms | 1394 KiB | 13 Q