3v4l.org

run code in 300+ PHP versions simultaneously
<?php $report = array( "03.05.2016" => array( "tasks" => array("group1" => "to change"), "start" => "8:00" , "end" => "16:00" ) ); $keys = array("03.05.2016","tasks","group1"); $value = "CHANGED"; print_r($report); $report[$keys[0]][$keys[1]][$keys[2]] = $value; print_r($report);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0HBUH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $report, !1 = $keys, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   11     2        ASSIGN                                                   !2, 'CHANGED'
   12     3        INIT_FCALL                                               'print_r'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   13     6        FETCH_DIM_R                                      ~7      !1, 0
          7        FETCH_DIM_R                                      ~9      !1, 1
          8        FETCH_DIM_R                                      ~11     !1, 2
          9        FETCH_DIM_W                                      $8      !0, ~7
         10        FETCH_DIM_W                                      $10     $8, ~9
         11        ASSIGN_DIM                                               $10, ~11
         12        OP_DATA                                                  !2
   14    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:
154.14 ms | 1079 KiB | 14 Q