3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <?php echo "<p>" . $_SERVER['HTTP_X_FORWARDED_FOR'] . "</p>"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/28g14
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A++++%3Cbody%3E%0A++++++++'
    4     1        FETCH_R                      global              ~0      '_SERVER'
          2        FETCH_DIM_R                                      ~1      ~0, 'HTTP_X_FORWARDED_FOR'
          3        CONCAT                                           ~2      '%3Cp%3E', ~1
          4        CONCAT                                           ~3      ~2, '%3C%2Fp%3E'
          5        ECHO                                                     ~3
    6     6        ECHO                                                     '++++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
    7     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.67 ms | 1392 KiB | 13 Q