3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = ['key' => 'blah', 'key2' => 'bleh']; echo '<a href="x.php?&y="'.$var['key'].'">'.$var['key'].'</a>: '.$var['key2']."<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ouAaL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~2      !0, 'key'
          2        CONCAT                                           ~3      '%3Ca+href%3D%22x.php%3F%26y%3D%22', ~2
          3        CONCAT                                           ~4      ~3, '%22%3E'
          4        FETCH_DIM_R                                      ~5      !0, 'key'
          5        CONCAT                                           ~6      ~4, ~5
          6        CONCAT                                           ~7      ~6, '%3C%2Fa%3E%3A+'
          7        FETCH_DIM_R                                      ~8      !0, 'key2'
          8        CONCAT                                           ~9      ~7, ~8
          9        CONCAT                                           ~10     ~9, '%3Cbr%3E'
         10        ECHO                                                     ~10
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.39 ms | 1392 KiB | 13 Q