3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (function_exists('openssl_random_pseudo_bytes')) { $hash = openssl_random_pseudo_bytes(255); $hash = bin2hex($hash); $hash = base_convert($hash, 16, 36); var_dump($hash); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 21
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/jl6nU
function name:  (null)
number of ops:  22
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'openssl_random_pseudo_bytes'
          2        DO_ICALL                                         $1      
          3      > JMPZ                                                     $1, ->21
    3     4    >   INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
          5        SEND_VAL_EX                                              255
          6        DO_FCALL                                      0  $2      
          7        ASSIGN                                                   !0, $2
    4     8        INIT_FCALL                                               'bin2hex'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    5    12        INIT_FCALL                                               'base_convert'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 16
         15        SEND_VAL                                                 36
         16        DO_ICALL                                         $6      
         17        ASSIGN                                                   !0, $6
    6    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
    7    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.51 ms | 1386 KiB | 21 Q