3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('FACTOR', 1); $arr = array(); $arr[$i * FACTOR] = 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GKeve
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'FACTOR'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, <array>
    6     5        FETCH_CONSTANT                                   ~4      'FACTOR'
          6        MUL                                              ~5      !1, ~4
          7        ASSIGN_DIM                                               !0, ~5
          8        OP_DATA                                                  1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.45 ms | 1393 KiB | 15 Q