3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.85 ms | 1394 KiB | 15 Q