3v4l.org

run code in 300+ PHP versions simultaneously
<?php $flag = "\x73\xB9\xAE\x9C\xAD\x5A\xE5\x11\x5F\x79\x9D\x8D\x16\x1C\x20\xC5\x6F\x5C\x61\xB3\xB9\x1F\x23\x20\x51\xD4\x9A\xFF\xC4\xC1\x09\x41\x50\xA8"; if (isset($argv[1])) { mt_srand($argv[1], defined('MT_RAND_PHP') ? MT_RAND_PHP : null); } $out = ''; for ($i=0; $i < strlen($flag); $i++) { $out .= chr(ord($flag[$i]) ^ mt_rand(0, 255)); } echo $out;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 15
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 15
Branch analysis from position: 32
Branch analysis from position: 15
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
Branch analysis from position: 12
filename:       /in/DJdpH
function name:  (null)
number of ops:  34
compiled vars:  !0 = $flag, !1 = $argv, !2 = $out, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 's%B9%AE%9C%ADZ%E5%11_y%9D%8D%16%1C+%C5o%5Ca%B3%B9%1F%23+Q%D4%9A%FF%C4%C1%09AP%A8'
    7     1        ISSET_ISEMPTY_DIM_OBJ                         0          !1, 1
          2      > JMPZ                                                     ~5, ->12
    8     3    >   INIT_FCALL                                               'mt_srand'
          4        FETCH_DIM_R                                      ~6      !1, 1
          5        SEND_VAL                                                 ~6
          6      > JMPZ                                                     <true>, ->9
          7    >   QM_ASSIGN                                        ~7      1
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~7      null
         10    >   SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
   10    12    >   ASSIGN                                                   !2, ''
   11    13        ASSIGN                                                   !3, 0
         14      > JMP                                                      ->29
   12    15    >   INIT_FCALL                                               'chr'
         16        INIT_FCALL                                               'ord'
         17        FETCH_DIM_R                                      ~11     !0, !3
         18        SEND_VAL                                                 ~11
         19        DO_ICALL                                         $12     
         20        INIT_FCALL                                               'mt_rand'
         21        SEND_VAL                                                 0
         22        SEND_VAL                                                 255
         23        DO_ICALL                                         $13     
         24        BW_XOR                                           ~14     $12, $13
         25        SEND_VAL                                                 ~14
         26        DO_ICALL                                         $15     
         27        ASSIGN_OP                                     8          !2, $15
   11    28        PRE_INC                                                  !3
         29    >   STRLEN                                           ~18     !0
         30        IS_SMALLER                                               !3, ~18
         31      > JMPNZ                                                    ~19, ->15
   14    32    >   ECHO                                                     !2
   15    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.3 ms | 1396 KiB | 21 Q