3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.66 ms | 1394 KiB | 15 Q