3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($crypt){ $c=$b=$a=array(); $d=array('?', '(' , '@' , ';' , '$','#',']','&','*'); $d=array_merge(range($d,'a','z'),range('A','Z'),range(0,9)); $d=array_merge($d,array('!',')','_','+','|','%','/','[','.',' ') ); $e=9;$f=0; for(;$f<$e;$f++) { for($g=0;$g<$e;$g++){ $b[$f][$g]=$d[$f*$e+$g]; $a[$f][$g]=str_rot13($d[($e*$e-1)-($f*$e+$g)]); //$35 } } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EihpA
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E > > RETURN                                                   1

Function encrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 56
Branch analysis from position: 56
2 jumps found. (Code = 44) Position 1 = 58, Position 2 = 32
Branch analysis from position: 58
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 53
Branch analysis from position: 53
2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 34
Branch analysis from position: 55
2 jumps found. (Code = 44) Position 1 = 58, Position 2 = 32
Branch analysis from position: 58
Branch analysis from position: 32
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 34
Branch analysis from position: 55
Branch analysis from position: 34
filename:       /in/EihpA
function name:  encrypt
number of ops:  59
compiled vars:  !0 = $crypt, !1 = $c, !2 = $b, !3 = $a, !4 = $d, !5 = $e, !6 = $f, !7 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN                                           ~8      !3, <array>
          2        ASSIGN                                           ~9      !2, ~8
          3        ASSIGN                                                   !1, ~9
    4     4        ASSIGN                                                   !4, <array>
    5     5        INIT_FCALL                                               'array_merge'
          6        INIT_FCALL                                               'range'
          7        SEND_VAR                                                 !4
          8        SEND_VAL                                                 'a'
          9        SEND_VAL                                                 'z'
         10        DO_ICALL                                         $12     
         11        SEND_VAR                                                 $12
         12        INIT_FCALL                                               'range'
         13        SEND_VAL                                                 'A'
         14        SEND_VAL                                                 'Z'
         15        DO_ICALL                                         $13     
         16        SEND_VAR                                                 $13
         17        INIT_FCALL                                               'range'
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 9
         20        DO_ICALL                                         $14     
         21        SEND_VAR                                                 $14
         22        DO_ICALL                                         $15     
         23        ASSIGN                                                   !4, $15
    6    24        INIT_FCALL                                               'array_merge'
         25        SEND_VAR                                                 !4
         26        SEND_VAL                                                 <array>
         27        DO_ICALL                                         $17     
         28        ASSIGN                                                   !4, $17
    7    29        ASSIGN                                                   !5, 9
         30        ASSIGN                                                   !6, 0
    8    31      > JMP                                                      ->56
   10    32    >   ASSIGN                                                   !7, 0
         33      > JMP                                                      ->53
   11    34    >   MUL                                              ~24     !6, !5
         35        ADD                                              ~25     ~24, !7
         36        FETCH_DIM_R                                      ~26     !4, ~25
         37        FETCH_DIM_W                                      $22     !2, !6
         38        ASSIGN_DIM                                               $22, !7
         39        OP_DATA                                                  ~26
   12    40        INIT_FCALL                                               'str_rot13'
         41        MUL                                              ~29     !5, !5
         42        SUB                                              ~30     ~29, 1
         43        MUL                                              ~31     !6, !5
         44        ADD                                              ~32     ~31, !7
         45        SUB                                              ~33     ~30, ~32
         46        FETCH_DIM_R                                      ~34     !4, ~33
         47        SEND_VAL                                                 ~34
         48        DO_ICALL                                         $35     
         49        FETCH_DIM_W                                      $27     !3, !6
         50        ASSIGN_DIM                                               $27, !7
         51        OP_DATA                                                  $35
   10    52        PRE_INC                                                  !7
         53    >   IS_SMALLER                                               !7, !5
         54      > JMPNZ                                                    ~37, ->34
    8    55    >   PRE_INC                                                  !6
         56    >   IS_SMALLER                                               !6, !5
         57      > JMPNZ                                                    ~39, ->32
   16    58    > > RETURN                                                   null

End of function encrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.23 ms | 1404 KiB | 19 Q