3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token = hash('sha512', mt_rand() . microtime(true) . openssl_random_pseudo_bytes(128)); echo $token;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IqbVK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $token
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'hash'
          1        SEND_VAL                                                 'sha512'
          2        INIT_FCALL                                               'mt_rand'
          3        DO_ICALL                                         $1      
          4        INIT_FCALL                                               'microtime'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $2      
          7        CONCAT                                           ~3      $1, $2
          8        INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
          9        SEND_VAL_EX                                              128
         10        DO_FCALL                                      0  $4      
         11        CONCAT                                           ~5      ~3, $4
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !0, $6
    4    15        ECHO                                                     !0
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.38 ms | 1394 KiB | 19 Q