3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data[0][1][tot_km] = aray(array("0" => 52, "1" => 23), array('tot_km' => Array('0' => 46))); $data[1][1] = array('tot_km' => array('0' => 38, '1' => 22, '2' => 40)); $data[1][2] = array('tot_km' => array('0' => -395, '1' => 28)); print_r($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JQUg9
function name:  (null)
number of ops:  19
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_CONSTANT                                   ~3      'tot_km'
          1        INIT_FCALL_BY_NAME                                       'aray'
          2        SEND_VAL_EX                                              <array>
          3        SEND_VAL_EX                                              <array>
          4        DO_FCALL                                      0  $5      
          5        FETCH_DIM_W                                      $1      !0, 0
          6        FETCH_DIM_W                                      $2      $1, 1
          7        ASSIGN_DIM                                               $2, ~3
          8        OP_DATA                                                  $5
    3     9        FETCH_DIM_W                                      $6      !0, 1
         10        ASSIGN_DIM                                               $6, 1
         11        OP_DATA                                                  <array>
    4    12        FETCH_DIM_W                                      $8      !0, 1
         13        ASSIGN_DIM                                               $8, 2
         14        OP_DATA                                                  <array>
    6    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.05 ms | 1394 KiB | 15 Q