3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = []; $i = 0; $test['bcc' . $i] = 'test1'; $test["bbc$i"] = 'test2'; var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4bEhu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $test, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
    6     2        CONCAT                                           ~4      'bcc', !1
          3        ASSIGN_DIM                                               !0, ~4
          4        OP_DATA                                                  'test1'
    7     5        NOP                                                      
          6        FAST_CONCAT                                      ~6      'bbc', !1
          7        ASSIGN_DIM                                               !0, ~6
          8        OP_DATA                                                  'test2'
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.61 ms | 1394 KiB | 15 Q