3v4l.org

run code in 300+ PHP versions simultaneously
<?php function generateToken() { return hash('sha256', (uniqid(mt_rand(), TRUE))); } var_dump(generateToken());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Evc3Q
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'generatetoken'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function generatetoken:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Evc3Q
function name:  generateToken
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'hash'
          1        SEND_VAL                                                 'sha256'
          2        INIT_FCALL                                               'uniqid'
          3        INIT_FCALL                                               'mt_rand'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10      > RETURN                                                   $2
    5    11*     > RETURN                                                   null

End of function generatetoken

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.1 ms | 1389 KiB | 22 Q