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['productlines'] = ['quantity' => 5] ; $hallo['productlines'] = ['quantity' => $aantal] ; print_r ($hallo); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e33Ff
function name:  (null)
number of ops:  16
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        ASSIGN_DIM                                               !4, 'productlines'
          8        OP_DATA                                                  <array>
   22     9        INIT_ARRAY                                       ~13     !2, 'quantity'
         10        ASSIGN_DIM                                               !4, 'productlines'
         11        OP_DATA                                                  ~13
   26    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !4
         14        DO_ICALL                                                 
   29    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
216.56 ms | 1394 KiB | 15 Q