3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.42 ms | 1392 KiB | 13 Q