3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo str_len(preg_replace('/[^a-zA-Z0-9]/', '', base64_encode(openssl_random_pseudo_bytes(12))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HBT6O
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'str_len'
          1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5Ea-zA-Z0-9%5D%2F'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'base64_encode'
          5        INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
          6        SEND_VAL_EX                                              12
          7        DO_FCALL                                      0  $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        SEND_VAR_NO_REF_EX                                       $2
         13        DO_FCALL                                      0  $3      
         14        ECHO                                                     $3
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.34 ms | 1394 KiB | 17 Q