3v4l.org

run code in 500+ 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
-----------------------------------------------------------------------------------------
    9     0  E >   RECV                                                 !0      
   10     1        RECV                                                 !1      
   11     2        RECV                                                 !2      
   12     3        RECV                                                 !3      
   13     4        RECV                                                 !4      
    9     5        ASSIGN_OBJ                                                   'id'
          6        OP_DATA                                                      !0
   10     7        ASSIGN_OBJ                                                   'type'
          8        OP_DATA                                                      !1
   11     9        ASSIGN_OBJ                                                   'axisOrientation'
         10        OP_DATA                                                      !2
   12    11        ASSIGN_OBJ                                                   'ranges'
         12        OP_DATA                                                      !3
   13    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
-----------------------------------------------------------------------------------------
   20     0  E >   RECV                                                 !0      
   21     1        RECV                                                 !1      
   22     2        RECV                                                 !2      
   23     3        RECV                                                 !3      
   24     4        RECV                                                 !4      
   20     5        ASSIGN_OBJ                                                   'id'
          6        OP_DATA                                                      !0
   21     7        ASSIGN_OBJ                                                   'type'
          8        OP_DATA                                                      !1
   22     9        ASSIGN_OBJ                                                   'axisOrientation'
         10        OP_DATA                                                      !2
   23    11        ASSIGN_OBJ                                                   'ranges'
         12        OP_DATA                                                      !3
   24    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.5.0


preferences:
171.78 ms | 1334 KiB | 13 Q