3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.09 ms | 1392 KiB | 13 Q