3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Abstraction { function method(Array $f = Array(), $concrete_param); } class Concrete implements Abstraction { function method($f, $concrete_param) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/21HAr
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'concrete'
    9     1      > RETURN                                                   1

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

End of function method

End of class Abstraction.

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

End of function method

End of class Concrete.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.36 ms | 1397 KiB | 13 Q