3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rand = bin2hex(openssl_pseudo_random_bytes(12)); var_dump($rand);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1bp1U
function name:  (null)
number of ops:  11
compiled vars:  !0 = $rand
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'bin2hex'
          1        INIT_FCALL_BY_NAME                                       'openssl_pseudo_random_bytes'
          2        SEND_VAL_EX                                              12
          3        DO_FCALL                                      0  $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    3     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.97 ms | 1394 KiB | 17 Q