3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Specification {} trait Specifications {} class Eh implements Specification { use Specifications; } function testing(Specifications $s) {} testing(new Eh);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mDMV0
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            'eh'
   13     1        INIT_FCALL                                               'testing'
          2        NEW                                              $0      'Eh'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

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

End of function testing

Class Specification: [no user functions]
Class Specifications: [no user functions]
Class Eh: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.24 ms | 1401 KiB | 14 Q