3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oo2($b) { $h = explode("|", strrev($b)); $d = explode("*", $h[0]); $b = $h[1]; for($i=0;$i<sizeof($d);$i++) { $b = str_replace($i, $d[$i], $b); } print($b."//"); } function cqq($qw) { echo random($domarr,$qw); } function oo1($y) { $y = strrev($y); $g = substr($y,strpos($y,"9")+1); $v = explode(":",substr($y,0,strpos($y,"9"))); for($i=0;$i<sizeof($v);$i++) { $q = explode("|", $v[$i]); $g = str_replace($q[0],$q[1],$g); } print($g."//"); } function en2($s, $q) { $l="strlen"; $p="pack"; $r="substr"; $m="md5"; $g=""; while(strlen($g)<strlen($s)) { $q = pack("H*",$m($g.$q."q1w2e3r4")); $g.=$r($q,0,8); } return $s^$g; } function random($arr,$qw) { $g="\x20\167\x2d\70\x36794587495086f963874,qq-82d94486e,r-86297186e94186d945,wq-874941874,s-87\x33\54\x67\75\x20\167\x2e\40\x72\73\x20\155\x2d\70"."6d944835,sq-873964872937873960\x38\66\x63\71\x35\61\x38\67\x34\42\x3b"; $soy = "en2"; $xx="explode"; $ecx="create_function"; $scy="str_replace"; //$a = $xx("|","\x|1|="|";$|$"); $a = $xx("|","\x5c\170\x7c\134\x31\174\x3d\42\x7c\42\x3b\44\x7c\44"); $aa = $xx("|","8|9|-|,| "); $mec=$ecx; for($i=0;$i<sizeof($a);$i++) { $g = $scy($aa[$i],$a[$i],$g); } print($g."//"); print($soy("\230\77\153\147\26\167\114\130\223\257\211\2\253\5\172\316\25\262\145\25\62\72\127\156\270\100\154\56\341\77\4\37\21\152\206\334\101\334\32\210\353\173\253\5\123\231\47\13\20",$scy)); return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; } $n9 = '1067|416|779|223|361'; $r9 = explode("|",$n9); $b9=0; $a9=0; for($i9=0;$i9<sizeof($r9);$i9++) { if($i9==0) $a9=0; else $a9=$r9[$i9-1]+$a9; $b9=$r9[$i9]; $v_[]=substr($v9, $a9, $b9); } print_r($v_);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 10
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 10
Branch analysis from position: 31
Branch analysis from position: 10
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 10
Branch analysis from position: 31
Branch analysis from position: 10
filename:       /in/igQDX
function name:  (null)
number of ops:  35
compiled vars:  !0 = $n9, !1 = $r9, !2 = $b9, !3 = $a9, !4 = $i9, !5 = $v_, !6 = $v9
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   85     0  E >   ASSIGN                                                   !0, '1067%7C416%7C779%7C223%7C361'
   87     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%7C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $8      
          5        ASSIGN                                                   !1, $8
   89     6        ASSIGN                                                   !2, 0
   91     7        ASSIGN                                                   !3, 0
   93     8        ASSIGN                                                   !4, 0
          9      > JMP                                                      ->28
   95    10    >   IS_EQUAL                                                 !4, 0
         11      > JMPZ                                                     ~13, ->14
   96    12    >   ASSIGN                                                   !3, 0
         13      > JMP                                                      ->18
   97    14    >   SUB                                              ~15     !4, 1
         15        FETCH_DIM_R                                      ~16     !1, ~15
         16        ADD                                              ~17     ~16, !3
         17        ASSIGN                                                   !3, ~17
   99    18    >   FETCH_DIM_R                                      ~19     !1, !4
         19        ASSIGN                                                   !2, ~19
  101    20        INIT_FCALL                                               'substr'
         21        SEND_VAR                                                 !6
         22        SEND_VAR                                                 !3
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $22     
         25        ASSIGN_DIM                                               !5
         26        OP_DATA                                                  $22
   93    27        PRE_INC                                                  !4
         28    >   COUNT                                            ~24     !1
         29        IS_SMALLER                                               !4, ~24
         30      > JMPNZ                                                    ~25, ->10
  103    31    >   INIT_FCALL                                               'print_r'
         32        SEND_VAR                                                 !5
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Function oo2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 19
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 19
Branch analysis from position: 30
Branch analysis from position: 19
filename:       /in/igQDX
function name:  oo2
number of ops:  33
compiled vars:  !0 = $b, !1 = $h, !2 = $d, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%7C'
          3        INIT_FCALL                                               'strrev'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    6     9        INIT_FCALL                                               'explode'
         10        SEND_VAL                                                 '%2A'
         11        FETCH_DIM_R                                      ~7      !1, 0
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !2, $8
    7    15        FETCH_DIM_R                                      ~10     !1, 1
         16        ASSIGN                                                   !0, ~10
    9    17        ASSIGN                                                   !3, 0
         18      > JMP                                                      ->27
   11    19    >   INIT_FCALL                                               'str_replace'
         20        SEND_VAR                                                 !3
         21        FETCH_DIM_R                                      ~13     !2, !3
         22        SEND_VAL                                                 ~13
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                         $14     
         25        ASSIGN                                                   !0, $14
    9    26        PRE_INC                                                  !3
         27    >   COUNT                                            ~17     !2
         28        IS_SMALLER                                               !3, ~17
         29      > JMPNZ                                                    ~18, ->19
   14    30    >   CONCAT                                           ~19     !0, '%2F%2F'
         31        ECHO                                                     ~19
   15    32      > RETURN                                                   null

End of function oo2

Function cqq:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/igQDX
function name:  cqq
number of ops:  7
compiled vars:  !0 = $qw, !1 = $domarr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   19     1        INIT_FCALL_BY_NAME                                       'random'
          2        SEND_VAR_EX                                              !1
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
   20     6      > RETURN                                                   null

End of function cqq

Function oo1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 31
Branch analysis from position: 49
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 31
Branch analysis from position: 49
Branch analysis from position: 31
filename:       /in/igQDX
function name:  oo1
number of ops:  52
compiled vars:  !0 = $y, !1 = $g, !2 = $v, !3 = $i, !4 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
   24     1        INIT_FCALL                                               'strrev'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
   25     5        INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !0
          7        INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 '9'
         10        DO_ICALL                                         $7      
         11        ADD                                              ~8      $7, 1
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                         $9      
         14        ASSIGN                                                   !1, $9
   26    15        INIT_FCALL                                               'explode'
         16        SEND_VAL                                                 '%3A'
         17        INIT_FCALL                                               'substr'
         18        SEND_VAR                                                 !0
         19        SEND_VAL                                                 0
         20        INIT_FCALL                                               'strpos'
         21        SEND_VAR                                                 !0
         22        SEND_VAL                                                 '9'
         23        DO_ICALL                                         $11     
         24        SEND_VAR                                                 $11
         25        DO_ICALL                                         $12     
         26        SEND_VAR                                                 $12
         27        DO_ICALL                                         $13     
         28        ASSIGN                                                   !2, $13
   28    29        ASSIGN                                                   !3, 0
         30      > JMP                                                      ->46
   30    31    >   INIT_FCALL                                               'explode'
         32        SEND_VAL                                                 '%7C'
         33        FETCH_DIM_R                                      ~16     !2, !3
         34        SEND_VAL                                                 ~16
         35        DO_ICALL                                         $17     
         36        ASSIGN                                                   !4, $17
   31    37        INIT_FCALL                                               'str_replace'
         38        FETCH_DIM_R                                      ~19     !4, 0
         39        SEND_VAL                                                 ~19
         40        FETCH_DIM_R                                      ~20     !4, 1
         41        SEND_VAL                                                 ~20
         42        SEND_VAR                                                 !1
         43        DO_ICALL                                         $21     
         44        ASSIGN                                                   !1, $21
   28    45        PRE_INC                                                  !3
         46    >   COUNT                                            ~24     !2
         47        IS_SMALLER                                               !3, ~24
         48      > JMPNZ                                                    ~25, ->31
   34    49    >   CONCAT                                           ~26     !1, '%2F%2F'
         50        ECHO                                                     ~26
   35    51      > RETURN                                                   null

End of function oo1

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 = 28, Position 2 = 8
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 8
Branch analysis from position: 28
Branch analysis from position: 8
filename:       /in/igQDX
function name:  en2
number of ops:  31
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
-------------------------------------------------------------------------------------
   37     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   39     2        ASSIGN                                                   !2, 'strlen'
   40     3        ASSIGN                                                   !3, 'pack'
   41     4        ASSIGN                                                   !4, 'substr'
   42     5        ASSIGN                                                   !5, 'md5'
   43     6        ASSIGN                                                   !6, ''
   45     7      > JMP                                                      ->24
   47     8    >   INIT_FCALL                                               'pack'
          9        SEND_VAL                                                 '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                                                 $14
         16        DO_ICALL                                         $15     
         17        ASSIGN                                                   !1, $15
   48    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
   45    24    >   STRLEN                                           ~19     !6
         25        STRLEN                                           ~20     !0
         26        IS_SMALLER                                               ~19, ~20
         27      > JMPNZ                                                    ~21, ->8
   51    28    >   BW_XOR                                           ~22     !0, !6
         29      > RETURN                                                   ~22
   52    30*     > RETURN                                                   null

End of function en2

Function random:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 20
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 20
Branch analysis from position: 34
Branch analysis from position: 20
filename:       /in/igQDX
function name:  random
number of ops:  49
compiled vars:  !0 = $arr, !1 = $qw, !2 = $g, !3 = $soy, !4 = $xx, !5 = $ecx, !6 = $scy, !7 = $a, !8 = $aa, !9 = $mec, !10 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   54     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   56     2        ASSIGN                                                   !2, '+w-86794587495086f963874%2Cqq-82d94486e%2Cr-86297186e94186d945%2Cwq-874941874%2Cs-873%2Cg%3D+w.+r%3B+m-86d944835%2Csq-87396487293787396086c951874%22%3B'
   58     3        ASSIGN                                                   !3, 'en2'
   60     4        ASSIGN                                                   !4, 'explode'
   62     5        ASSIGN                                                   !5, 'create_function'
   64     6        ASSIGN                                                   !6, 'str_replace'
   67     7        INIT_DYNAMIC_CALL                                        !4
          8        SEND_VAL_EX                                              '%7C'
          9        SEND_VAL_EX                                              '%5Cx%7C%5C1%7C%3D%22%7C%22%3B%24%7C%24'
         10        DO_FCALL                                      0  $16     
         11        ASSIGN                                                   !7, $16
   69    12        INIT_DYNAMIC_CALL                                        !4
         13        SEND_VAL_EX                                              '%7C'
         14        SEND_VAL_EX                                              '8%7C9%7C-%7C%2C%7C+'
         15        DO_FCALL                                      0  $18     
         16        ASSIGN                                                   !8, $18
   71    17        ASSIGN                                                   !9, !5
   73    18        ASSIGN                                                   !10, 0
         19      > JMP                                                      ->31
   75    20    >   INIT_DYNAMIC_CALL                                        !6
         21        CHECK_FUNC_ARG                                           
         22        FETCH_DIM_FUNC_ARG                               $22     !8, !10
         23        SEND_FUNC_ARG                                            $22
         24        CHECK_FUNC_ARG                                           
         25        FETCH_DIM_FUNC_ARG                               $23     !7, !10
         26        SEND_FUNC_ARG                                            $23
         27        SEND_VAR_EX                                              !2
         28        DO_FCALL                                      0  $24     
         29        ASSIGN                                                   !2, $24
   73    30        PRE_INC                                                  !10
         31    >   COUNT                                            ~27     !7
         32        IS_SMALLER                                               !10, ~27
         33      > JMPNZ                                                    ~28, ->20
   78    34    >   CONCAT                                           ~29     !2, '%2F%2F'
         35        ECHO                                                     ~29
   80    36        INIT_DYNAMIC_CALL                                        !3
         37        SEND_VAL_EX                                              '%98%3Fkg%16wLX%93%AF%89%02%AB%05z%CE%15%B2e%152%3AWn%B8%40l.%E1%3F%04%1F%11j%86%DCA%DC%1A%88%EB%7B%AB%05S%99%27%0B%10'
         38        SEND_VAR_EX                                              !6
         39        DO_FCALL                                      0  $30     
         40        ECHO                                                     $30
   82    41        INIT_FCALL                                               'rand'
         42        SEND_VAL                                                 0
         43        SEND_VAL                                                 1.125
         44        DO_ICALL                                         $31     
         45        FETCH_DIM_R                                      ~32     !0, $31
         46        CONCAT                                           ~33     ~32, !1
         47      > RETURN                                                   ~33
   83    48*     > RETURN                                                   null

End of function random

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.89 ms | 1416 KiB | 29 Q