3v4l.org

run code in 300+ PHP versions simultaneously
<?php $enc1 = base64_encode(181); $enc2 = base64_encode('M'.$enc1.'T'); $dec1 = base64_decode($enc2); $len = strlen($dec1); $dec2 = substr($dec1, 1, $len-2); $dec3 = base64_decode($dec2); //echo "\n".$dec3; $f = $enc[array_rand(str_split($enc1))]; $s = $enc[array_rand(str_split($enc1))]; echo $f.'='.$s;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rBn0n
function name:  (null)
number of ops:  47
compiled vars:  !0 = $enc1, !1 = $enc2, !2 = $dec1, !3 = $len, !4 = $dec2, !5 = $dec3, !6 = $f, !7 = $enc, !8 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'base64_encode'
          1        SEND_VAL                                                 181
          2        DO_ICALL                                         $9      
          3        ASSIGN                                                   !0, $9
    4     4        INIT_FCALL                                               'base64_encode'
          5        CONCAT                                           ~11     'M', !0
          6        CONCAT                                           ~12     ~11, 'T'
          7        SEND_VAL                                                 ~12
          8        DO_ICALL                                         $13     
          9        ASSIGN                                                   !1, $13
    6    10        INIT_FCALL                                               'base64_decode'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $15     
         13        ASSIGN                                                   !2, $15
    7    14        STRLEN                                           ~17     !2
         15        ASSIGN                                                   !3, ~17
    8    16        INIT_FCALL                                               'substr'
         17        SEND_VAR                                                 !2
         18        SEND_VAL                                                 1
         19        SUB                                              ~19     !3, 2
         20        SEND_VAL                                                 ~19
         21        DO_ICALL                                         $20     
         22        ASSIGN                                                   !4, $20
    9    23        INIT_FCALL                                               'base64_decode'
         24        SEND_VAR                                                 !4
         25        DO_ICALL                                         $22     
         26        ASSIGN                                                   !5, $22
   14    27        INIT_FCALL                                               'array_rand'
         28        INIT_FCALL                                               'str_split'
         29        SEND_VAR                                                 !0
         30        DO_ICALL                                         $24     
         31        SEND_VAR                                                 $24
         32        DO_ICALL                                         $25     
         33        FETCH_DIM_R                                      ~26     !7, $25
         34        ASSIGN                                                   !6, ~26
   15    35        INIT_FCALL                                               'array_rand'
         36        INIT_FCALL                                               'str_split'
         37        SEND_VAR                                                 !0
         38        DO_ICALL                                         $28     
         39        SEND_VAR                                                 $28
         40        DO_ICALL                                         $29     
         41        FETCH_DIM_R                                      ~30     !7, $29
         42        ASSIGN                                                   !8, ~30
   17    43        CONCAT                                           ~32     !6, '%3D'
         44        CONCAT                                           ~33     ~32, !8
         45        ECHO                                                     ~33
         46      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.34 ms | 1400 KiB | 23 Q