3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.92 ms | 1394 KiB | 15 Q