3v4l.org

run code in 300+ PHP versions simultaneously
<?php function en2($s, $q) { $l="strlen"; $p="pack"; $r="substr"; $m="md5"; $g = ""; while ($l($g)<$l($s)) { $q = $p("H*",$m($g.$q."q1w2e3r4")); $g.=$r($q,0,8); } return $s^$g; } echo en2("0?kgwLX371\23\5z62e2:Wn0@l.1?\4j64A403{3\5S1'\13","str_replace");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rb0aq
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'en2'
          1        SEND_VAL                                                 '0%3FkgwLX371%13%05z62e2%3AWn0%40l.1%3F%04j64A403%7B3%05S1%27%0B'
          2        SEND_VAL                                                 'str_replace'
          3        DO_FCALL                                      0  $0      
          4        ECHO                                                     $0
          5      > RETURN                                                   1

Function en2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 8
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 8
Branch analysis from position: 32
Branch analysis from position: 8
filename:       /in/rb0aq
function name:  en2
number of ops:  35
compiled vars:  !0 = $s, !1 = $q, !2 = $l, !3 = $p, !4 = $r, !5 = $m, !6 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        ASSIGN                                                   !2, 'strlen'
    5     3        ASSIGN                                                   !3, 'pack'
    6     4        ASSIGN                                                   !4, 'substr'
    7     5        ASSIGN                                                   !5, 'md5'
    8     6        ASSIGN                                                   !6, ''
    9     7      > JMP                                                      ->24
   10     8    >   INIT_DYNAMIC_CALL                                        !3
          9        SEND_VAL_EX                                              'H%2A'
         10        INIT_DYNAMIC_CALL                                        !5
         11        CONCAT                                           ~12     !6, !1
         12        CONCAT                                           ~13     ~12, 'q1w2e3r4'
         13        SEND_VAL_EX                                              ~13
         14        DO_FCALL                                      0  $14     
         15        SEND_VAR_NO_REF_EX                                       $14
         16        DO_FCALL                                      0  $15     
         17        ASSIGN                                                   !1, $15
   11    18        INIT_DYNAMIC_CALL                                        !4
         19        SEND_VAR_EX                                              !1
         20        SEND_VAL_EX                                              0
         21        SEND_VAL_EX                                              8
         22        DO_FCALL                                      0  $17     
         23        ASSIGN_OP                                     8          !6, $17
    9    24    >   INIT_DYNAMIC_CALL                                        !2
         25        SEND_VAR_EX                                              !6
         26        DO_FCALL                                      0  $19     
         27        INIT_DYNAMIC_CALL                                        !2
         28        SEND_VAR_EX                                              !0
         29        DO_FCALL                                      0  $20     
         30        IS_SMALLER                                               $19, $20
         31      > JMPNZ                                                    ~21, ->8
   13    32    >   BW_XOR                                           ~22     !0, !6
         33      > RETURN                                                   ~22
   14    34*     > RETURN                                                   null

End of function en2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.64 ms | 1402 KiB | 14 Q