3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.68 ms | 1395 KiB | 21 Q