3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "var a = {$_SERVER['HTTP_REFERER']};";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQmfG
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ROPE_INIT                                     3  ~4      'var+a+%3D+'
          1        FETCH_R                      global              ~1      '_SERVER'
          2        FETCH_DIM_R                                      ~2      ~1, 'HTTP_REFERER'
          3        ROPE_ADD                                      1  ~4      ~4, ~2
          4        ROPE_END                                      2  ~3      ~4, '%3B'
          5        ASSIGN                                                   !0, ~3
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.83 ms | 1392 KiB | 13 Q