3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0;$i < 20; $i++){ echo rtrim(strtr(base64_encode(random_bytes(24)), '+/', '-_'), '='); echo "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 2
Branch analysis from position: 22
Branch analysis from position: 2
filename:       /in/SqGEA
function name:  (null)
number of ops:  23
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->20
    3     2    >   INIT_FCALL                                               'rtrim'
          3        INIT_FCALL                                               'strtr'
          4        INIT_FCALL                                               'base64_encode'
          5        INIT_FCALL                                               'random_bytes'
          6        SEND_VAL                                                 24
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        SEND_VAL                                                 '%2B%2F'
         12        SEND_VAL                                                 '-_'
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        SEND_VAL                                                 '%3D'
         16        DO_ICALL                                         $5      
         17        ECHO                                                     $5
    4    18        ECHO                                                     '%0A'
    2    19        PRE_INC                                                  !0
         20    >   IS_SMALLER                                               !0, 20
         21      > JMPNZ                                                    ~7, ->2
    5    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.09 ms | 1395 KiB | 21 Q