3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'https://www.hwtrek.com/project/VscVjE%2FLOxM%3D'; $new_str = ''; do { $new_str = rawurldecode($str); } while (preg_match('/%[0-9a-f]{2,}/i', $str)); echo $new_str, '\n', $str;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/VuOf0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $new_str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fwww.hwtrek.com%2Fproject%2FVscVjE%252FLOxM%253D'
    4     1        ASSIGN                                                   !1, ''
    7     2    >   INIT_FCALL                                               'rawurldecode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    8     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%2F%25%5B0-9a-f%5D%7B2%2C%7D%2Fi'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10      > JMPNZ                                                    $6, ->2
   10    11    >   ECHO                                                     !1
         12        ECHO                                                     '%5Cn'
         13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.95 ms | 1394 KiB | 17 Q