3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brin = 'Gynzy'; $salesorderid = 2562; $aantal = 4; $product_id = 45; // $array_product [$i]["id"]= $row_product->id; // $array_product [$i]["name"]= $row_product->name; // $i++; $hallo = [ 'brin' => $brin, 'salesorderid' => $salesorderid ]; $hallo[0]['productlines'] = ['quantity' => 5] ; $hallo[1]['productlines'] = ['quantity' => $aantal] ; print_r ($hallo); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0qYJX
function name:  (null)
number of ops:  18
compiled vars:  !0 = $brin, !1 = $salesorderid, !2 = $aantal, !3 = $product_id, !4 = $hallo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Gynzy'
    4     1        ASSIGN                                                   !1, 2562
    5     2        ASSIGN                                                   !2, 4
    6     3        ASSIGN                                                   !3, 45
   15     4        INIT_ARRAY                                       ~9      !0, 'brin'
   16     5        ADD_ARRAY_ELEMENT                                ~9      !1, 'salesorderid'
   14     6        ASSIGN                                                   !4, ~9
   19     7        FETCH_DIM_W                                      $11     !4, 0
          8        ASSIGN_DIM                                               $11, 'productlines'
          9        OP_DATA                                                  <array>
   22    10        INIT_ARRAY                                       ~15     !2, 'quantity'
         11        FETCH_DIM_W                                      $13     !4, 1
         12        ASSIGN_DIM                                               $13, 'productlines'
         13        OP_DATA                                                  ~15
   26    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !4
         16        DO_ICALL                                                 
   29    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.02 ms | 1394 KiB | 15 Q