3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array [0]= ['id' => 0, 'name' => 'Teig', 'doing' => 'Test']; $array[0][0] = ['q' => '100', 'u' => 'g', 'p' => 'wheat_flour']; $array[0][1] = ['q' => '100', 'u' => 'g', 'p' => 'sugar']; $array[0][2] = ['q' => '100', 'u' => 'g', 'p' => 'milk']; $array[] = ['count' => '1', 'uidR' => '2']; unset($array[0][1]); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6iVoU
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  <array>
    4     2        FETCH_DIM_W                                      $2      !0, 0
          3        ASSIGN_DIM                                               $2, 0
          4        OP_DATA                                                  <array>
    5     5        FETCH_DIM_W                                      $4      !0, 0
          6        ASSIGN_DIM                                               $4, 1
          7        OP_DATA                                                  <array>
    6     8        FETCH_DIM_W                                      $6      !0, 0
          9        ASSIGN_DIM                                               $6, 2
         10        OP_DATA                                                  <array>
    7    11        ASSIGN_DIM                                               !0
         12        OP_DATA                                                  <array>
    9    13        FETCH_DIM_UNSET                                  $9      !0, 0
         14        UNSET_DIM                                                $9, 1
   11    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:
164.53 ms | 1398 KiB | 15 Q