3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sInp = "°­©±ª±«©±«±©jbjc"; $sKey = "8519293193919192153"; $s = ""; $j = 0; for ($i=0;$i< strlen($sInp);$i++) { $s .= chr( ord(substr($sInp,$i,1)) - ord(substr($sKey,$j++,1)) ); if($j==strlen($sKey)) $j=0; } echo $s;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 6
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 32
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 6
Branch analysis from position: 36
Branch analysis from position: 6
Branch analysis from position: 32
filename:       /in/T0NCl
function name:  (null)
number of ops:  38
compiled vars:  !0 = $sInp, !1 = $sKey, !2 = $s, !3 = $j, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%B0%C2%AD%C2%A9%C2%B1%C2%AA%C2%B1%C2%AB%C2%A9%C2%B1%C2%AB%C2%B1%C2%A9jbjc'
    4     1        ASSIGN                                                   !1, '8519293193919192153'
    5     2        ASSIGN                                                   !2, ''
    6     3        ASSIGN                                                   !3, 0
    8     4        ASSIGN                                                   !4, 0
          5      > JMP                                                      ->33
   10     6    >   INIT_FCALL                                               'chr'
          7        INIT_FCALL                                               'ord'
          8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !4
         11        SEND_VAL                                                 1
         12        DO_ICALL                                         $10     
         13        SEND_VAR                                                 $10
         14        DO_ICALL                                         $11     
         15        INIT_FCALL                                               'ord'
         16        INIT_FCALL                                               'substr'
         17        SEND_VAR                                                 !1
         18        POST_INC                                         ~12     !3
         19        SEND_VAL                                                 ~12
         20        SEND_VAL                                                 1
         21        DO_ICALL                                         $13     
         22        SEND_VAR                                                 $13
         23        DO_ICALL                                         $14     
         24        SUB                                              ~15     $11, $14
         25        SEND_VAL                                                 ~15
         26        DO_ICALL                                         $16     
         27        ASSIGN_OP                                     8          !2, $16
   11    28        STRLEN                                           ~18     !1
         29        IS_EQUAL                                                 !3, ~18
         30      > JMPZ                                                     ~19, ->32
   12    31    >   ASSIGN                                                   !3, 0
    8    32    >   PRE_INC                                                  !4
         33    >   STRLEN                                           ~22     !0
         34        IS_SMALLER                                               !4, ~22
         35      > JMPNZ                                                    ~23, ->6
   14    36    >   ECHO                                                     !2
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.24 ms | 1396 KiB | 19 Q