3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.98 ms | 1407 KiB | 13 Q