3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); class Catalogue { private int $id; private string $name; private int $type; private string $description; private Cost $cost; private bool $visible; public function __construct( int $id, string $name, int $type, string $description, Cost $cost, bool $visible ) { $this->id = $id; $this->name = $name; $this->type = $type; $this->description = $description; $this->cost = $cost; $this->visible = $visible; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/37e6N
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   29     0  E > > RETURN                                                       1

Class Catalogue:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/37e6N
function name:  __construct
number of ops:  19
compiled vars:  !0 = $id, !1 = $name, !2 = $type, !3 = $description, !4 = $cost, !5 = $visible
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   RECV                                                 !0      
   16     1        RECV                                                 !1      
   17     2        RECV                                                 !2      
   18     3        RECV                                                 !3      
   19     4        RECV                                                 !4      
   20     5        RECV                                                 !5      
   22     6        ASSIGN_OBJ                                                   'id'
          7        OP_DATA                                                      !0
   23     8        ASSIGN_OBJ                                                   'name'
          9        OP_DATA                                                      !1
   24    10        ASSIGN_OBJ                                                   'type'
         11        OP_DATA                                                      !2
   25    12        ASSIGN_OBJ                                                   'description'
         13        OP_DATA                                                      !3
   26    14        ASSIGN_OBJ                                                   'cost'
         15        OP_DATA                                                      !4
   27    16        ASSIGN_OBJ                                                   'visible'
         17        OP_DATA                                                      !5
   28    18      > RETURN                                                       null

End of function __construct

End of class Catalogue.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.45 ms | 2101 KiB | 13 Q