3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = hash('sha512', uniqid(mt_rand(), true)) . hash('sha512', uniqid(mt_rand(), true)); var_dump($salt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o7mDi
function name:  (null)
number of ops:  26
compiled vars:  !0 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'hash'
          1        SEND_VAL                                                 'sha512'
          2        INIT_FCALL                                               'uniqid'
          3        INIT_FCALL                                               'mt_rand'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        INIT_FCALL                                               'hash'
         11        SEND_VAL                                                 'sha512'
         12        INIT_FCALL                                               'uniqid'
         13        INIT_FCALL                                               'mt_rand'
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $5      
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                         $6      
         20        CONCAT                                           ~7      $3, $6
         21        ASSIGN                                                   !0, ~7
    3    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.76 ms | 1386 KiB | 21 Q