3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1398 KiB | 13 Q