3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = hash('sha256', uniqid(mt_rand(), true) . 'ooga boogaadmin'); $hash = $salt . 'abcd'; echo "salt: $salt\nhash: $hash";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mTcTd
function name:  (null)
number of ops:  20
compiled vars:  !0 = $salt, !1 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'hash'
          1        SEND_VAL                                                 'sha256'
          2        INIT_FCALL                                               'uniqid'
          3        INIT_FCALL                                               'mt_rand'
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $3      
          8        CONCAT                                           ~4      $3, 'ooga+boogaadmin'
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !0, $5
    3    12        CONCAT                                           ~7      !0, 'abcd'
         13        ASSIGN                                                   !1, ~7
    4    14        ROPE_INIT                                     4  ~10     'salt%3A+'
         15        ROPE_ADD                                      1  ~10     ~10, !0
         16        ROPE_ADD                                      2  ~10     ~10, '%0Ahash%3A+'
         17        ROPE_END                                      3  ~9      ~10, !1
         18        ECHO                                                     ~9
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.95 ms | 1395 KiB | 19 Q