3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base64_encode( random_bytes(9) ); echo strtr( base64_encode( random_bytes(9) ), '+/', '-_' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pjmiU
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'base64_encode'
    4     1        INIT_FCALL                                               'random_bytes'
          2        SEND_VAL                                                 9
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
    7     7        INIT_FCALL                                               'strtr'
    8     8        INIT_FCALL                                               'base64_encode'
    9     9        INIT_FCALL                                               'random_bytes'
         10        SEND_VAL                                                 9
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
   11    15        SEND_VAL                                                 '%2B%2F'
   12    16        SEND_VAL                                                 '-_'
         17        DO_ICALL                                         $4      
         18        ECHO                                                     $4
   13    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.6 ms | 1394 KiB | 19 Q