3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.78 ms | 1394 KiB | 21 Q