3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IMyInterface1 { public function test(array $params); } interface IMyInterface2 { public function test(array $params); } class MyClass implements IMyInterface1, IMyInterface2 { public function test(array $params) { echo '1'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S6JtM
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   DECLARE_CLASS                                            'myclass'
   16     1      > RETURN                                                   1

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

End of function test

End of class IMyInterface1.

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

End of function test

End of class IMyInterface2.

Class MyClass:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S6JtM
function name:  test
number of ops:  3
compiled vars:  !0 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   14     1        ECHO                                                     '1'
   15     2      > RETURN                                                   null

End of function test

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.31 ms | 1394 KiB | 13 Q