3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = hash('sha256', uniqid(mt_rand(), true) . 'ooga booga' . strtolower('Admin')); $hash = $salt . 'abcd'; for($i = 0; $i < 10000; $i++) { $hash = hash('sha256', $hash); } echo $hash;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 20
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 20
Branch analysis from position: 28
Branch analysis from position: 20
filename:       /in/2H9c7
function name:  (null)
number of ops:  30
compiled vars:  !0 = $salt, !1 = $hash, !2 = $i
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                                         $3      
          5        SEND_VAR                                                 $3
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $4      
          8        CONCAT                                           ~5      $4, 'ooga+booga'
          9        INIT_FCALL                                               'strtolower'
         10        SEND_VAL                                                 'Admin'
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      ~5, $6
         13        SEND_VAL                                                 ~7
         14        DO_ICALL                                         $8      
         15        ASSIGN                                                   !0, $8
    3    16        CONCAT                                           ~10     !0, 'abcd'
         17        ASSIGN                                                   !1, ~10
    4    18        ASSIGN                                                   !2, 0
         19      > JMP                                                      ->26
    5    20    >   INIT_FCALL                                               'hash'
         21        SEND_VAL                                                 'sha256'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $13     
         24        ASSIGN                                                   !1, $13
    4    25        PRE_INC                                                  !2
         26    >   IS_SMALLER                                               !2, 10000
         27      > JMPNZ                                                    ~16, ->20
    7    28    >   ECHO                                                     !1
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170 ms | 1388 KiB | 21 Q