3v4l.org

run code in 300+ PHP versions simultaneously
<?php $market_data_array =array ( 'Turkey' => array ( 'Gold' => array ( 2020 => array ( 'March' => array ( 12 => 25000 ), ), ), ), ); $country_name = 'Turkey'; $rates_property_type = 'Silver'; $year = '2020'; $month = 'March'; $day_date = '12'; $rate_today = 8000; $market_data_array[$country_name][$rates_property_type][$year][$month][$day_date] = $rate_today; print_r($market_data_array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5MkRI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $market_data_array, !1 = $country_name, !2 = $rates_property_type, !3 = $year, !4 = $month, !5 = $day_date, !6 = $rate_today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   22     1        ASSIGN                                                   !1, 'Turkey'
   23     2        ASSIGN                                                   !2, 'Silver'
   24     3        ASSIGN                                                   !3, '2020'
   25     4        ASSIGN                                                   !4, 'March'
   26     5        ASSIGN                                                   !5, '12'
   27     6        ASSIGN                                                   !6, 8000
   29     7        FETCH_DIM_W                                      $14     !0, !1
          8        FETCH_DIM_W                                      $15     $14, !2
          9        FETCH_DIM_W                                      $16     $15, !3
         10        FETCH_DIM_W                                      $17     $16, !4
         11        ASSIGN_DIM                                               $17, !5
         12        OP_DATA                                                  !6
   30    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.29 ms | 999 KiB | 14 Q