3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FormBuilderInterface { public function getForm($form_arg /* , mixed ...$args */); } class FormBuilder implements FormBuilderInterface { public function getForm($form_arg, mixed ...$args) {} } class FormBuilderExtended extends FormBuilder { public function getForm($form_arg) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nblth
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'formbuilder'
   11     1        DECLARE_CLASS                                            'formbuilderextended', 'formbuilder'
   13     2      > RETURN                                                   1

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

End of function getform

End of class FormBuilderInterface.

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

End of function getform

End of class FormBuilder.

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

End of function getform

End of class FormBuilderExtended.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.31 ms | 1409 KiB | 13 Q