3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = 'key'; $var='var'; echo "<a href='/home.php?id=$var'>$key</a>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nnKn5
function name:  (null)
number of ops:  9
compiled vars:  !0 = $key, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'key'
    3     1        ASSIGN                                                   !1, 'var'
    4     2        ROPE_INIT                                     5  ~5      '%3Ca+href%3D%27%2Fhome.php%3Fid%3D'
          3        ROPE_ADD                                      1  ~5      ~5, !1
          4        ROPE_ADD                                      2  ~5      ~5, '%27%3E'
          5        ROPE_ADD                                      3  ~5      ~5, !0
          6        ROPE_END                                      4  ~4      ~5, '%3C%2Fa%3E'
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.85 ms | 1392 KiB | 13 Q