3v4l.org

run code in 300+ PHP versions simultaneously
<?php define(KEY , 'laruence'); //省略很多行代码 $array[KEY] = 2; var_dump($array); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WcT4Q
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        FETCH_CONSTANT                                   ~1      'KEY'
          2        SEND_VAL                                                 ~1
          3        SEND_VAL                                                 'laruence'
          4        DO_ICALL                                                 
    6     5        FETCH_CONSTANT                                   ~3      'KEY'
          6        ASSIGN_DIM                                               !0, ~3
          7        OP_DATA                                                  2
    8     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    9    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.55 ms | 1394 KiB | 17 Q