3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Product { static function alloc($data) { return new static($data); } } class ProductBase extends Product { public $id, $sku2, $product_id2, $title2, $slug2, $active1; } class ProductView extends ProductBase { protected $table = 'product_offers_view'; public $id, $sku, $product_id, $title, $slug, $active, $description, $image, $store_id, $store_name, $vendor_id, $vendor_name, $category_id, $category_name, $in_stock, $store_one_price, $store_one_prev_price, $store_one_price_date, $store_one_prev_price_date, $store_one_price_delta, $store_one_in_stock, $store_two_price, $store_two_price_delta, $store_two_price_date, $store_two_prev_price_date, $store_two_prev_price, $store_two_in_stock, $store_three_price, $store_three_price_delta, $store_three_price_date, $store_three_prev_price_date, $store_three_prev_price, $store_three_in_stock; } for ($i = 0; $i < 100; $i++) { new ProductView($i); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
Branch analysis from position: 2
filename:       /in/pTAJM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   68     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->7
   69     2    >   NEW                                              $2      'ProductView'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0          
          5        FREE                                                     $2
   68     6        PRE_INC                                                  !0
          7    >   IS_SMALLER                                               !0, 100
          8      > JMPNZ                                                    ~5, ->2
   70     9    > > RETURN                                                   1

Class Product:
Function alloc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pTAJM
function name:  alloc
number of ops:  6
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        NEW                          static              $1      
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   $1
    6     5*     > RETURN                                                   null

End of function alloc

End of class Product.

Class ProductBase:
Function alloc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pTAJM
function name:  alloc
number of ops:  6
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        NEW                          static              $1      
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   $1
    6     5*     > RETURN                                                   null

End of function alloc

End of class ProductBase.

Class ProductView:
Function alloc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pTAJM
function name:  alloc
number of ops:  6
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        NEW                          static              $1      
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   $1
    6     5*     > RETURN                                                   null

End of function alloc

End of class ProductView.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
128.04 ms | 1403 KiB | 13 Q