3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = array(); $y[0] = 'Good'; $y[1] = ' morning!'; echo "${y[0]}${y[1]}"; echo ${y[0]},${y[1]};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/frTXV
function name:  (null)
number of ops:  19
compiled vars:  !0 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 0
          2        OP_DATA                                                  'Good'
    4     3        ASSIGN_DIM                                               !0, 1
          4        OP_DATA                                                  '+morning%21'
    5     5        FETCH_DIM_R                                      ~4      !0, 0
          6        NOP                                                      
          7        FETCH_DIM_R                                      ~5      !0, 1
          8        FAST_CONCAT                                      ~6      ~4, ~5
          9        ECHO                                                     ~6
    6    10        FETCH_CONSTANT                                   ~7      'y'
         11        FETCH_DIM_R                                      ~8      ~7, 0
         12        FETCH_R                      local               ~9      ~8
         13        ECHO                                                     ~9
         14        FETCH_CONSTANT                                   ~10     'y'
         15        FETCH_DIM_R                                      ~11     ~10, 1
         16        FETCH_R                      local               ~12     ~11
         17        ECHO                                                     ~12
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.65 ms | 1393 KiB | 13 Q