3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt20 = '12345678901234567890'; $pw = 'test'; // see if Blowfish hashing is possible var_dump(CRYPT_BLOWFISH); echo "Hash with salt20: " . crypt($pw, '$2a$11$' . $salt20) . "\n"; echo "Hash with salt21: " . crypt($pw, '$2a$11$x' . $salt20) . "\n"; echo "Hash with salt22: " . crypt($pw, '$2a$11$xy' . $salt20) . "\n"; echo "Hash with salt23: " . crypt($pw, '$2a$11$xyz' . $salt20) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iieoc
function name:  (null)
number of ops:  38
compiled vars:  !0 = $salt20, !1 = $pw
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '12345678901234567890'
    4     1        ASSIGN                                                   !1, 'test'
    7     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAL                                                 1
          4        DO_ICALL                                                 
    9     5        INIT_FCALL                                               'crypt'
          6        SEND_VAR                                                 !1
          7        CONCAT                                           ~5      '%242a%2411%24', !0
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        CONCAT                                           ~7      'Hash+with+salt20%3A+', $6
         11        CONCAT                                           ~8      ~7, '%0A'
         12        ECHO                                                     ~8
   10    13        INIT_FCALL                                               'crypt'
         14        SEND_VAR                                                 !1
         15        CONCAT                                           ~9      '%242a%2411%24x', !0
         16        SEND_VAL                                                 ~9
         17        DO_ICALL                                         $10     
         18        CONCAT                                           ~11     'Hash+with+salt21%3A+', $10
         19        CONCAT                                           ~12     ~11, '%0A'
         20        ECHO                                                     ~12
   11    21        INIT_FCALL                                               'crypt'
         22        SEND_VAR                                                 !1
         23        CONCAT                                           ~13     '%242a%2411%24xy', !0
         24        SEND_VAL                                                 ~13
         25        DO_ICALL                                         $14     
         26        CONCAT                                           ~15     'Hash+with+salt22%3A+', $14
         27        CONCAT                                           ~16     ~15, '%0A'
         28        ECHO                                                     ~16
   12    29        INIT_FCALL                                               'crypt'
         30        SEND_VAR                                                 !1
         31        CONCAT                                           ~17     '%242a%2411%24xyz', !0
         32        SEND_VAL                                                 ~17
         33        DO_ICALL                                         $18     
         34        CONCAT                                           ~19     'Hash+with+salt23%3A+', $18
         35        CONCAT                                           ~20     ~19, '%0A'
         36        ECHO                                                     ~20
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.43 ms | 1396 KiB | 17 Q