3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.78 ms | 1394 KiB | 19 Q