3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'boegaboe'; $base_salt = '0123456789ABCDEFGHIJK'; $alphabet = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghjiklmnopqrstuvwxyz0123456789';//var_dump($alphabet); for ($i = 0; $i < 64; $i++) { $salt = $base_salt . $alphabet[$i]; $hash = password_hash($password, PASSWORD_DEFAULT, ['cost' => 4, 'salt' => $salt]); echo printf('#%02d %s', $i, $hash), PHP_EOL; //var_dump(bin); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 5
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 5
Branch analysis from position: 26
Branch analysis from position: 5
filename:       /in/39bmm
function name:  (null)
number of ops:  27
compiled vars:  !0 = $password, !1 = $base_salt, !2 = $alphabet, !3 = $i, !4 = $salt, !5 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'boegaboe'
    4     1        ASSIGN                                                   !1, '0123456789ABCDEFGHIJK'
    6     2        ASSIGN                                                   !2, '.%2FABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghjiklmnopqrstuvwxyz0123456789'
    8     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->24
    9     5    >   FETCH_DIM_R                                      ~10     !2, !3
          6        CONCAT                                           ~11     !1, ~10
          7        ASSIGN                                                   !4, ~11
   10     8        INIT_FCALL                                               'password_hash'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '2y'
         11        INIT_ARRAY                                       ~13     4, 'cost'
         12        ADD_ARRAY_ELEMENT                                ~13     !4, 'salt'
         13        SEND_VAL                                                 ~13
         14        DO_ICALL                                         $14     
         15        ASSIGN                                                   !5, $14
   11    16        INIT_FCALL                                               'printf'
         17        SEND_VAL                                                 '%23%2502d+%25s'
         18        SEND_VAR                                                 !3
         19        SEND_VAR                                                 !5
         20        DO_ICALL                                         $16     
         21        ECHO                                                     $16
         22        ECHO                                                     '%0A'
    8    23        PRE_INC                                                  !3
         24    >   IS_SMALLER                                               !3, 64
         25      > JMPNZ                                                    ~18, ->5
   14    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.16 ms | 1391 KiB | 18 Q