3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum AxisType {} enum AxisOrientation {} class IncompleteObject { public function __construct( public readonly int $id, public readonly AxisType $type, public readonly AxisOrientation $axisOrientation, public readonly array $ranges, public ?int $value ) { } } class CompleteObject { public function __construct( public readonly int $id, public readonly AxisType $type, public readonly AxisOrientation $axisOrientation, public readonly array $ranges, public readonly int $value ) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vb7fE
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'axistype'
    5     1        DECLARE_CLASS                                            'axisorientation'
   27     2      > RETURN                                                   1

Class AxisType: [no user functions]
Class AxisOrientation: [no user functions]
Class IncompleteObject:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vb7fE
function name:  __construct
number of ops:  16
compiled vars:  !0 = $id, !1 = $type, !2 = $axisOrientation, !3 = $ranges, !4 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        ASSIGN_OBJ                                               'id'
          6        OP_DATA                                                  !0
          7        ASSIGN_OBJ                                               'type'
          8        OP_DATA                                                  !1
          9        ASSIGN_OBJ                                               'axisOrientation'
         10        OP_DATA                                                  !2
         11        ASSIGN_OBJ                                               'ranges'
         12        OP_DATA                                                  !3
         13        ASSIGN_OBJ                                               'value'
         14        OP_DATA                                                  !4
   15    15      > RETURN                                                   null

End of function __construct

End of class IncompleteObject.

Class CompleteObject:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vb7fE
function name:  __construct
number of ops:  16
compiled vars:  !0 = $id, !1 = $type, !2 = $axisOrientation, !3 = $ranges, !4 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        ASSIGN_OBJ                                               'id'
          6        OP_DATA                                                  !0
          7        ASSIGN_OBJ                                               'type'
          8        OP_DATA                                                  !1
          9        ASSIGN_OBJ                                               'axisOrientation'
         10        OP_DATA                                                  !2
         11        ASSIGN_OBJ                                               'ranges'
         12        OP_DATA                                                  !3
         13        ASSIGN_OBJ                                               'value'
         14        OP_DATA                                                  !4
   26    15      > RETURN                                                   null

End of function __construct

End of class CompleteObject.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.08 ms | 1000 KiB | 13 Q