3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i { function __construct(int $i); } class x implements i { function __construct(int $i) {} } class y extends x { function __construct(string $i) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QPaRG
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                                'x'
   12     1        DECLARE_CLASS                                                'y', 'x'
   14     2      > RETURN                                                       1

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

End of function __construct

End of class i.

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

End of function __construct

End of class x.

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

End of function __construct

End of class y.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.78 ms | 1810 KiB | 13 Q