3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.31 ms | 1392 KiB | 13 Q