3v4l.org

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

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

End of function test

End of class inter.

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

End of function test

End of class cla.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.3 ms | 1393 KiB | 13 Q