3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'test' => 'Hello, ', 'foo' => 'world!' ); echo "$arr[test]$arr[foo]";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kjupO
function name:  (null)
number of ops:  7
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        FETCH_DIM_R                                      ~2      !0, 'test'
          2        NOP                                                      
          3        FETCH_DIM_R                                      ~3      !0, 'foo'
          4        FAST_CONCAT                                      ~4      ~2, ~3
          5        ECHO                                                     ~4
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.19 ms | 1392 KiB | 13 Q