3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.25 ms | 1392 KiB | 13 Q