3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brin = 'Gynzy'; $salesorderid = 2562; $aantal = 4; $product_id = 45; $hallo = [ 'brin' => $brin, 'salesorderid' => $salesorderid // 'productlines' => [ // 'quantity' => $aantal, // 'product_id' => $product_id // ] ]; $hallo['productlines'] = ['quantity' => 5, 'product_id' => 678 ]; print_r ($hallo); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W4fcg
function name:  (null)
number of ops:  13
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
   11     4        INIT_ARRAY                                       ~9      !0, 'brin'
   12     5        ADD_ARRAY_ELEMENT                                ~9      !1, 'salesorderid'
   10     6        ASSIGN                                                   !4, ~9
   19     7        ASSIGN_DIM                                               !4, 'productlines'
          8        OP_DATA                                                  <array>
   24     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !4
         11        DO_ICALL                                                 
   27    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.72 ms | 1394 KiB | 15 Q