3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = ''; $body .= 'Image '.$_SERVER['REQUEST_URI']."\n"; $body .= 'From '.((isset($_SERVER['HTTP_REFERER']))?$_SERVER['HTTP_REFERER']:'unknown')."\n"; $body .= 'Host '.((isset($_SERVER['HTTP_HOST']))?$_SERVER['HTTP_REFERER']:'unknown')."\n"; echo $body;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 24
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 24
Branch analysis from position: 20
Branch analysis from position: 24
filename:       /in/Af35B
function name:  (null)
number of ops:  30
compiled vars:  !0 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        FETCH_R                      global              ~2      '_SERVER'
          2        FETCH_DIM_R                                      ~3      ~2, 'REQUEST_URI'
          3        CONCAT                                           ~4      'Image+', ~3
          4        CONCAT                                           ~5      ~4, '%0A'
          5        ASSIGN_OP                                     8          !0, ~5
    5     6        FETCH_IS                                         ~7      '_SERVER'
          7        ISSET_ISEMPTY_DIM_OBJ                         0          ~7, 'HTTP_REFERER'
          8      > JMPZ                                                     ~8, ->13
          9    >   FETCH_R                      global              ~9      '_SERVER'
         10        FETCH_DIM_R                                      ~10     ~9, 'HTTP_REFERER'
         11        QM_ASSIGN                                        ~11     ~10
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~11     'unknown'
         14    >   CONCAT                                           ~12     'From+', ~11
         15        CONCAT                                           ~13     ~12, '%0A'
         16        ASSIGN_OP                                     8          !0, ~13
    6    17        FETCH_IS                                         ~15     '_SERVER'
         18        ISSET_ISEMPTY_DIM_OBJ                         0          ~15, 'HTTP_HOST'
         19      > JMPZ                                                     ~16, ->24
         20    >   FETCH_R                      global              ~17     '_SERVER'
         21        FETCH_DIM_R                                      ~18     ~17, 'HTTP_REFERER'
         22        QM_ASSIGN                                        ~19     ~18
         23      > JMP                                                      ->25
         24    >   QM_ASSIGN                                        ~19     'unknown'
         25    >   CONCAT                                           ~20     'Host+', ~19
         26        CONCAT                                           ~21     ~20, '%0A'
         27        ASSIGN_OP                                     8          !0, ~21
    7    28        ECHO                                                     !0
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.28 ms | 1395 KiB | 13 Q