3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($tmp_0) { $tmp_1 = strtolower(strrev($tmp_0)); $tmp_2 = (hexdec(substr($tmp_1, 0, 4)) ^ hexdec('BFF')) ^ hexdec('D77D'); $tmp_3 = substr($tmp_1,4); unset($tmp_4); for($tmp_5=0; $tmp_5 < strlen($tmp_3); $tmp_5+=6) { ++$tmp_6; $tmp_7 = ($tmp_6 * $tmp_6) ^ hexdec('6E'); } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aP0Ms
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E > > RETURN                                                   1

Function decrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 41
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 44, Position 2 = 33
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 44, Position 2 = 33
Branch analysis from position: 44
Branch analysis from position: 33
filename:       /in/aP0Ms
function name:  decrypt
number of ops:  45
compiled vars:  !0 = $tmp_0, !1 = $tmp_1, !2 = $tmp_2, !3 = $tmp_3, !4 = $tmp_4, !5 = $tmp_5, !6 = $tmp_6, !7 = $tmp_7
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'strtolower'
          2        INIT_FCALL                                               'strrev'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $8      
          5        SEND_VAR                                                 $8
          6        DO_ICALL                                         $9      
          7        ASSIGN                                                   !1, $9
    5     8        INIT_FCALL                                               'hexdec'
          9        INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 4
         13        DO_ICALL                                         $11     
         14        SEND_VAR                                                 $11
         15        DO_ICALL                                         $12     
         16        INIT_FCALL                                               'hexdec'
         17        SEND_VAL                                                 'BFF'
         18        DO_ICALL                                         $13     
         19        BW_XOR                                           ~14     $12, $13
         20        INIT_FCALL                                               'hexdec'
         21        SEND_VAL                                                 'D77D'
         22        DO_ICALL                                         $15     
         23        BW_XOR                                           ~16     $15, ~14
         24        ASSIGN                                                   !2, ~16
    6    25        INIT_FCALL                                               'substr'
         26        SEND_VAR                                                 !1
         27        SEND_VAL                                                 4
         28        DO_ICALL                                         $18     
         29        ASSIGN                                                   !3, $18
    7    30        UNSET_CV                                                 !4
    8    31        ASSIGN                                                   !5, 0
         32      > JMP                                                      ->41
   10    33    >   PRE_INC                                                  !6
   11    34        MUL                                              ~22     !6, !6
         35        INIT_FCALL                                               'hexdec'
         36        SEND_VAL                                                 '6E'
         37        DO_ICALL                                         $23     
         38        BW_XOR                                           ~24     $23, ~22
         39        ASSIGN                                                   !7, ~24
    8    40        ASSIGN_OP                                     1          !5, 6
         41    >   STRLEN                                           ~27     !3
         42        IS_SMALLER                                               !5, ~27
         43      > JMPNZ                                                    ~28, ->33
   13    44    > > RETURN                                                   null

End of function decrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.19 ms | 1400 KiB | 21 Q