3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface c { } class d implements c { public static function cw(d $a, $b) { return $a->stuff($b); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u4a1D
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'd'
   13     1      > RETURN                                                   1

Class c: [no user functions]
Class d:
Function cw:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u4a1D
function name:  cw
number of ops:  7
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   11     2        INIT_METHOD_CALL                                         !0, 'stuff'
          3        SEND_VAR_EX                                              !1
          4        DO_FCALL                                      0  $2      
          5      > RETURN                                                   $2
   12     6*     > RETURN                                                   null

End of function cw

End of class d.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1397 KiB | 13 Q