3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable = '(.+)/e'.chr(0); $url = 'www.wer.we/?phpinfo();//?xx=1'; $url = preg_replace('/(.*)(\?|&)' . $variable .'smx t55555555smx t55555555', '$1$2$4', $url.'&'); var_dump($variable, $url);die();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/BmKMU
function name:  (null)
number of ops:  17
compiled vars:  !0 = $variable, !1 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%28.%2B%29%2Fe%00'
    4     1        ASSIGN                                                   !1, 'www.wer.we%2F%3Fphpinfo%28%29%3B%2F%2F%3Fxx%3D1'
    5     2        INIT_FCALL                                               'preg_replace'
          3        CONCAT                                           ~4      '%2F%28.%2A%29%28%5C%3F%7C%26%29', !0
          4        CONCAT                                           ~5      ~4, 'smx+t55555555smx+t55555555'
          5        SEND_VAL                                                 ~5
          6        SEND_VAL                                                 '%241%242%244'
          7        CONCAT                                           ~6      !1, '%26'
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !1, $7
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > EXIT                                                     
         16*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.7 ms | 1394 KiB | 17 Q