3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test[0] = 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/L4iZV
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        ASSIGN_DIM                                               !0, 0
          2        OP_DATA                                                  0
    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:
154.13 ms | 1392 KiB | 13 Q