3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FormInterface { public function buildForm(array $form, FormStateInterface $form_state); } interface MyFormInterface extends FormInterface { public function buildForm(array $form, FormStateInterface $form_state, $my_optional_param = NULL); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/STXGd
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'myforminterface'
    7     1      > RETURN                                                   1

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

End of function buildform

End of class FormInterface.

Class MyFormInterface:
Function buildform:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/STXGd
function name:  buildForm
number of ops:  4
compiled vars:  !0 = $form, !1 = $form_state, !2 = $my_optional_param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      null
          3      > RETURN                                                   null

End of function buildform

End of class MyFormInterface.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.89 ms | 1385 KiB | 13 Q