3v4l.org

run code in 300+ PHP versions simultaneously
<?php $customerDetails = array(); $customerDetails['billing']['firstname'] = "Sid"; $customerDetails['billing']['middlename'] = "R"; $customerDetails['billing']['lastname'] = "McLaughlin"; $customerDetails['billing']['company'] = NULL; foreach ($k as $customerDetails['billing']) { print $v; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/nZ4UY
function name:  (null)
number of ops:  21
compiled vars:  !0 = $customerDetails, !1 = $k, !2 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_W                                      $4      !0, 'billing'
          2        ASSIGN_DIM                                               $4, 'firstname'
          3        OP_DATA                                                  'Sid'
    5     4        FETCH_DIM_W                                      $6      !0, 'billing'
          5        ASSIGN_DIM                                               $6, 'middlename'
          6        OP_DATA                                                  'R'
    6     7        FETCH_DIM_W                                      $8      !0, 'billing'
          8        ASSIGN_DIM                                               $8, 'lastname'
          9        OP_DATA                                                  'McLaughlin'
    7    10        FETCH_DIM_W                                      $10     !0, 'billing'
         11        ASSIGN_DIM                                               $10, 'company'
         12        OP_DATA                                                  null
    9    13      > FE_RESET_R                                       $12     !1, ->19
         14    > > FE_FETCH_R                                               $12, $13, ->19
         15    >   ASSIGN_DIM                                               !0, 'billing'
         16        OP_DATA                                                  $13
   10    17        ECHO                                                     !2
    9    18      > JMP                                                      ->14
         19    >   FE_FREE                                                  $12
   11    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.81 ms | 1394 KiB | 13 Q