3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test[0][0] = 0; $test[0][1] = 1; $test[0][2] = 2; $test[1][0] = 1; echo count($test); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iHQ3M
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $1      !0, 0
          1        ASSIGN_DIM                                               $1, 0
          2        OP_DATA                                                  0
    3     3        FETCH_DIM_W                                      $3      !0, 0
          4        ASSIGN_DIM                                               $3, 1
          5        OP_DATA                                                  1
    4     6        FETCH_DIM_W                                      $5      !0, 0
          7        ASSIGN_DIM                                               $5, 2
          8        OP_DATA                                                  2
    5     9        FETCH_DIM_W                                      $7      !0, 1
         10        ASSIGN_DIM                                               $7, 0
         11        OP_DATA                                                  1
    6    12        COUNT                                            ~9      !0
         13        ECHO                                                     ~9
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.5 ms | 1393 KiB | 13 Q