3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* EINSTIEGS URL: http://localhost/neukundenbonus/?PartnerId=403&utm_source=bertelsmann&utm_medium=iframe&utm_campaign=Bertelsmann%20Club */ $url = preg_replace('/neukundenbonus/', 'https://www.lottowelt.de/lotto/online/de/lw/lotto-online-tippen.html', $_SERVER['REQUEST_URI']); $result = substr($url,1); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t85nj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $url, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2Fneukundenbonus%2F'
          2        SEND_VAL                                                 'https%3A%2F%2Fwww.lottowelt.de%2Flotto%2Fonline%2Fde%2Flw%2Flotto-online-tippen.html'
          3        FETCH_R                      global              ~2      '_SERVER'
          4        FETCH_DIM_R                                      ~3      ~2, 'REQUEST_URI'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    6     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 1
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    8    13        ECHO                                                     !1
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.94 ms | 1398 KiB | 17 Q